summaryrefslogtreecommitdiffstats
path: root/compat/zlib/uncompr.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/zlib/uncompr.c')
-rw-r--r--compat/zlib/uncompr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/zlib/uncompr.c b/compat/zlib/uncompr.c
index ad98be3..242e949 100644
--- a/compat/zlib/uncompr.c
+++ b/compat/zlib/uncompr.c
@@ -30,7 +30,7 @@ int ZEXPORT uncompress (dest, destLen, source, sourceLen)
z_stream stream;
int err;
- stream.next_in = (Bytef*)source;
+ stream.next_in = (z_const Bytef *)source;
stream.avail_in = (uInt)sourceLen;
/* Check for source > 64K on 16-bit machine: */
if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;