diff options
Diffstat (limited to 'Modules/zlib/uncompr.c')
-rw-r--r-- | Modules/zlib/uncompr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zlib/uncompr.c b/Modules/zlib/uncompr.c index ad98be3..242e949 100644 --- a/Modules/zlib/uncompr.c +++ b/Modules/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; |