summaryrefslogtreecommitdiffstats
path: root/lib/zlib/uncompr.c
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-09 00:34:31 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-07-10 00:06:23 +0200
commit5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d (patch)
tree88a9dda6136c596d1ac48063e7f05b7aec5561a8 /lib/zlib/uncompr.c
parentNetwork: Fixed ServerHandle's address formatting. (diff)
downloadcuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar.gz
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar.bz2
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar.lz
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar.xz
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar.zst
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.zip
Diffstat (limited to '')
-rw-r--r--lib/zlib/uncompr.c2
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;