summaryrefslogtreecommitdiff
path: root/src/login/login.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-18 21:59:20 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-18 21:59:20 +0000
commitf26dbc30528f8627310fa03f46cefd940ee40588 (patch)
treeed89bb354699d2a5fb34b3b7022f37bc2b68b375 /src/login/login.c
parent2bc59ef9db7a86d0c483e3848ead57d6d691e6a3 (diff)
downloadhercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.gz
hercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.bz2
hercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.xz
hercules-f26dbc30528f8627310fa03f46cefd940ee40588.zip
Fixed some gcc-specific stuff, silenced some more warnings
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11515 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login/login.c')
-rw-r--r--src/login/login.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 8acc10d73..311f34327 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -32,7 +32,7 @@ struct Login_Config {
// bool case_sensitive; // are logins case sensitive ?
bool use_md5_passwds; // work with password hashes instead of plaintext passwords?
// bool login_gm_read; // should the login server handle info about gm accounts?
- uint8 min_level_to_connect; // minimum level of player/GM (0: player, 1-99: GM) to connect
+ int min_level_to_connect; // minimum level of player/GM (0: player, 1-99: GM) to connect
bool online_check; // reject incoming players that are already registered as online ?
bool check_client_version; // check the clientversion set in the clientinfo ?
unsigned int client_version_to_connect; // the client version needed to connect (if checking is enabled)
@@ -3622,7 +3622,7 @@ int login_config_read(const char* cfgName)
else if(!strcmpi(w1, "use_MD5_passwords"))
login_config.use_md5_passwds = (bool)config_switch(w2);
else if(!strcmpi(w1, "min_level_to_connect"))
- login_config.min_level_to_connect = (uint8)atoi(w2);
+ login_config.min_level_to_connect = atoi(w2);
else if(!strcmpi(w1, "date_format"))
safestrncpy(login_config.date_format, w2, sizeof(login_config.date_format));
else if(!strcmpi(w1, "console"))