diff options
author | glighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-30 04:13:46 +0000 |
---|---|---|
committer | glighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-30 04:13:46 +0000 |
commit | de3e9a7aea38e374a91d9f036da043f14e58b9f3 (patch) | |
tree | 0db9e5ba7201a1fc332b8abe87d75d6c3069c7ee /src/map/atcommand.c | |
parent | a97c2837c050d53bed4010f3399dcd5d0ad8b269 (diff) | |
download | hercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.tar.gz hercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.tar.bz2 hercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.tar.xz hercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.zip |
-Fix old warnings. 1st step to get ride of -wno flag in configure.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16987 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 7f523e649..a67c67108 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1003,7 +1003,7 @@ ACMD_FUNC(jobchange) if (!message || !*message || sscanf(message, "%d %d", &job, &upper) < 1) { int i, found = 0; - + for (i = JOB_NOVICE; i < JOB_MAX; ++i) { if (strncmpi(message, job_name(i), 16) == 0) { job = i; @@ -7410,7 +7410,7 @@ ACMD_FUNC(mapflag) clif_displaymessage(sd->fd,atcmd_output);\ return 0;\ } - unsigned char flag_name[100]; + char flag_name[100]; int flag=0,i; nullpo_retr(-1, sd); memset(flag_name, '\0', sizeof(flag_name)); |