summaryrefslogtreecommitdiff
path: root/src/common/grfio.c
diff options
context:
space:
mode:
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);
}