diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 02:58:06 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 02:58:06 +0000 |
commit | 230ba4e3dd84a19f7dee67fdc97532e5869bef63 (patch) | |
tree | ce45bbd4ee391c864da8c4d26ec786e7fd1e15b2 /src/ladmin | |
parent | 8766394782084eef1b77d39f5b8e54947847735f (diff) | |
download | hercules-230ba4e3dd84a19f7dee67fdc97532e5869bef63.tar.gz hercules-230ba4e3dd84a19f7dee67fdc97532e5869bef63.tar.bz2 hercules-230ba4e3dd84a19f7dee67fdc97532e5869bef63.tar.xz hercules-230ba4e3dd84a19f7dee67fdc97532e5869bef63.zip |
More ANSI C++/C conformance fixes [SVN 1341: MouseJstr]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1341 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/ladmin')
-rw-r--r-- | src/ladmin/ladmin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ladmin/ladmin.c b/src/ladmin/ladmin.c index 0453efa1d..432a78a95 100644 --- a/src/ladmin/ladmin.c +++ b/src/ladmin/ladmin.c @@ -4256,8 +4256,8 @@ int ladmin_config_read(const char *cfgName) { line[sizeof(line)-1] = '\0'; if (sscanf(line, "%[^:]: %[^\r\n]", w1, w2) == 2) { - remove_control_chars(w1); - remove_control_chars(w2); + remove_control_chars((unsigned char *) w1); + remove_control_chars((unsigned char *) w2); if(strcmpi(w1,"login_ip")==0){ struct hostent *h = gethostbyname (w2); |