diff options
author | Xin LI <delphij@FreeBSD.org> | 2013-05-03 22:32:49 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2013-05-03 22:32:49 +0000 |
commit | f1ff077ba4aaaa6b3b74ee72e5b95f34e79da9a5 (patch) | |
tree | 62888a5274d470784bb7431e507f40f39e4e00eb /uncompr.c | |
parent | 11598cceda4aa6b2db006d9dc3b7c80e9e727174 (diff) |
Notes
Diffstat (limited to 'uncompr.c')
-rw-r--r-- | uncompr.c | 2 |
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; |