summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-18 01:43:46 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-18 01:43:46 +0000
commit1950be354765cfc65032d61a3352d0b8f58929c0 (patch)
tree691c2d14c1e168bc371df364c62b049e4f0589f8 /src/common
parent4ee37b0132cb5da002ec8a071b4269133cb11768 (diff)
downloadhercules-1950be354765cfc65032d61a3352d0b8f58929c0.tar.gz
hercules-1950be354765cfc65032d61a3352d0b8f58929c0.tar.bz2
hercules-1950be354765cfc65032d61a3352d0b8f58929c0.tar.xz
hercules-1950be354765cfc65032d61a3352d0b8f58929c0.zip
* Fixed warnings on compilers again.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5654 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/utils.c2
-rw-r--r--src/common/utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/utils.c b/src/common/utils.c
index 57dc1f480..bbf9f8398 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -101,7 +101,7 @@ int strcasecmp(const char *arg1, const char *arg2)
return (0);
}
-int strncasecmp(const char *arg1, const char *arg2, int n)
+int strncasecmp(const char *arg1, const char *arg2, size_t n)
{
int chk, i;
diff --git a/src/common/utils.h b/src/common/utils.h
index 9d2febe1b..7c3c1f40c 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -15,7 +15,7 @@
/* strcasecmp -> stricmp -> str_cmp */
#if defined(_WIN32) && !defined(MINGW)
int strcasecmp(const char *arg1, const char *arg2);
- int strncasecmp(const char *arg1, const char *arg2, int n);
+ int strncasecmp(const char *arg1, const char *arg2, size_t n);
void str_upper(char *name);
void str_lower(char *name);
char *rindex(char *str, char c);