summaryrefslogtreecommitdiff
path: root/thirdparty/libz/compress.c
diff options
context:
space:
mode:
authormayeut <mayeut@users.noreply.github.com>2015-07-04 18:45:06 +0200
committermayeut <mayeut@users.noreply.github.com>2015-07-04 18:45:06 +0200
commitfb0e397330e6291823bee6a8defcede0a4e0a3bc (patch)
tree71ed65cdd47aa05349ce5874c1ff7479e886990c /thirdparty/libz/compress.c
parent35ddb3abc7def59d4049ea3fb0cba160800980a1 (diff)
Update zlib to version 1.2.8
Diffstat (limited to 'thirdparty/libz/compress.c')
-rw-r--r--thirdparty/libz/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/libz/compress.c b/thirdparty/libz/compress.c
index ea4dfbe9..6e976267 100644
--- a/thirdparty/libz/compress.c
+++ b/thirdparty/libz/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: */