summaryrefslogtreecommitdiff
path: root/src/common/grfio.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-19 13:25:39 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-19 13:25:39 +0000
commit1588eefb6be4303a88804a8079c47c29239bc01e (patch)
treef18de1e67b0af9fa35522bca7b62b804be7b0ea5 /src/common/grfio.c
parent5208a0be9d90add076d1d7646e074085ccce4b77 (diff)
downloadhercules-1588eefb6be4303a88804a8079c47c29239bc01e.tar.gz
hercules-1588eefb6be4303a88804a8079c47c29239bc01e.tar.bz2
hercules-1588eefb6be4303a88804a8079c47c29239bc01e.tar.xz
hercules-1588eefb6be4303a88804a8079c47c29239bc01e.zip
Fixed some gcc4 warnings
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8807 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/grfio.c')
-rw-r--r--src/common/grfio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/grfio.c b/src/common/grfio.c
index 6cfc7eeaa..5597177c5 100644
--- a/src/common/grfio.c
+++ b/src/common/grfio.c
@@ -403,7 +403,7 @@ int deflate_file (const char *source, const char *filename)
return 0;
}
-unsigned long grfio_crc32 (const char *buf, unsigned int len)
+unsigned long grfio_crc32 (const unsigned char *buf, unsigned int len)
{
return crc32(crc32(0L, Z_NULL, 0), buf, len);
}