summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-23 21:55:17 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-23 21:55:17 +0000
commit1310c6d32bed847857db9ca574b7a69fda640620 (patch)
tree428337f02624ac940e230ad8452791fb127cac82 /src/common
parentae093dbdc0e90c640d22e7d3c027ce0288e8625e (diff)
downloadhercules-1310c6d32bed847857db9ca574b7a69fda640620.tar.gz
hercules-1310c6d32bed847857db9ca574b7a69fda640620.tar.bz2
hercules-1310c6d32bed847857db9ca574b7a69fda640620.tar.xz
hercules-1310c6d32bed847857db9ca574b7a69fda640620.zip
forgot something...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@970 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/grfio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/grfio.c b/src/common/grfio.c
index 6afd1d668..013c21c74 100644
--- a/src/common/grfio.c
+++ b/src/common/grfio.c
@@ -282,7 +282,7 @@ static void decode_des_etc(BYTE *buf,int len,int type,int cycle)
* Grf data decode sub : zip
*------------------------------------------
*/
-int decode_zip(char *dest, unsigned long* destLen, const char* source, unsigned long sourceLen)
+int decode_zip(unsigned char *dest, unsigned long* destLen, const unsigned char* source, unsigned long sourceLen)
{
z_stream stream;
int err;
@@ -313,7 +313,7 @@ int decode_zip(char *dest, unsigned long* destLen, const char* source, unsigned
return err;
}
-int encode_zip(char *dest, unsigned long* destLen, const char* source, unsigned long sourceLen) {
+int encode_zip(unsigned char *dest, unsigned long* destLen, const unsigned char* source, unsigned long sourceLen) {
z_stream stream;
int err;