From d2a9c1a52d0c8e1443cf9834a5ce0ca0df15ae6a Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> Date: Mon, 24 Jan 2005 00:18:10 +0000 Subject: [PATCH] typo git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@973 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 7c0f757376..d198bcb2ed 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1219,7 +1219,7 @@ int make_new_char_sql(int fd, unsigned char *dat) { // Check Authorised letters/symbols in the name of the character if (char_name_option == 1) { // only letters/symbols in char_name_letters are authorised - for (i = 0; i < strlen(const char*dat); i++) + for (i = 0; i < strlen(const char*)dat); i++) if (strchr(char_name_letters, dat[i]) == NULL) return -1; } else if (char_name_option == 2) { // letters/symbols in char_name_letters are forbidden