summaryrefslogtreecommitdiffstats
path: root/lib/zlib/compress.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/compress.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/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zlib/compress.c b/lib/zlib/compress.c
index ea4dfbe9d..6e9762676 100644
--- a/lib/zlib/compress.c
+++ b/lib/zlib/compress.c
@@ -29,7 +29,7 @@ int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
z_stream stream;
int err;
- stream.next_in = (Bytef*)source;
+ stream.next_in = (z_const Bytef *)source;
stream.avail_in = (uInt)sourceLen;
#ifdef MAXSEG_64K
/* Check for source > 64K on 16-bit machine: */