summaryrefslogtreecommitdiff
path: root/uncompr.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2013-05-03 22:32:49 +0000
committerXin LI <delphij@FreeBSD.org>2013-05-03 22:32:49 +0000
commitf1ff077ba4aaaa6b3b74ee72e5b95f34e79da9a5 (patch)
tree62888a5274d470784bb7431e507f40f39e4e00eb /uncompr.c
parent11598cceda4aa6b2db006d9dc3b7c80e9e727174 (diff)
Notes
Diffstat (limited to 'uncompr.c')
-rw-r--r--uncompr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uncompr.c b/uncompr.c
index ad98be3a5d88..242e9493dff5 100644
--- a/uncompr.c
+++ b/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;