From 9f47d257ba5bb985bc6753b0f20b90da18664cd1 Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 16 Apr 2007 20:44:44 +0000 Subject: * Finally fixed mingw problems, managed to build both TXT and SQL * Fixed the uint32 platform problem (Microsoft failed so I removed it :) * Removed the cbasetypes.h dependency from the mapcache generator * Removed some random compilation warnings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10270 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/ladmin/ladmin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ladmin/ladmin.c') diff --git a/src/ladmin/ladmin.c b/src/ladmin/ladmin.c index 66bada1c3..e4a358745 100644 --- a/src/ladmin/ladmin.c +++ b/src/ladmin/ladmin.c @@ -4245,8 +4245,8 @@ int ladmin_config_read(const char *cfgName) { line[sizeof(line)-1] = '\0'; if (sscanf(line, "%[^:]: %[^\r\n]", w1, w2) == 2) { - remove_control_chars((unsigned char *) w1); - remove_control_chars((unsigned char *) w2); + remove_control_chars(w1); + remove_control_chars(w2); if(strcmpi(w1,"login_ip")==0){ struct hostent *h = gethostbyname (w2); -- cgit v1.2.3-70-g09d2