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