diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-17 15:57:41 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-17 15:57:41 +0000 |
commit | e9afc2eb49c13e7c7a7f89a2ef5b07a123cba75c (patch) | |
tree | 5f3a2a24ea5aabdfd6c7d3e7b7fd5c670e1365fd /3rdparty | |
parent | 2ddd63c488827505cd3e3902ce15bc7fd575e6dd (diff) | |
download | hercules-e9afc2eb49c13e7c7a7f89a2ef5b07a123cba75c.tar.gz hercules-e9afc2eb49c13e7c7a7f89a2ef5b07a123cba75c.tar.bz2 hercules-e9afc2eb49c13e7c7a7f89a2ef5b07a123cba75c.tar.xz hercules-e9afc2eb49c13e7c7a7f89a2ef5b07a123cba75c.zip |
Fixed gcc warnings on libconfig.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15591 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/libconfig/libconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/libconfig/libconfig.c b/3rdparty/libconfig/libconfig.c index e64213c16..1e594fc2b 100644 --- a/3rdparty/libconfig/libconfig.c +++ b/3rdparty/libconfig/libconfig.c @@ -533,12 +533,12 @@ static int __config_validate_name(const char *name) if(*p == '\0') return(CONFIG_FALSE); - if(! isalpha(*p) && (*p != '*')) + if(! isalpha((unsigned char)*p) && (*p != '*')) return(CONFIG_FALSE); for(++p; *p; ++p) { - if(! (isalpha(*p) || isdigit(*p) || strchr("*_-", (int)*p))) + if(! (isalpha((unsigned char)*p) || isdigit((unsigned char)*p) || strchr("*_-", (int)*p))) return(CONFIG_FALSE); } |