summaryrefslogtreecommitdiff
path: root/thirdparty/libz/uncompr.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/uncompr.c
parent35ddb3abc7def59d4049ea3fb0cba160800980a1 (diff)
Update zlib to version 1.2.8
Diffstat (limited to 'thirdparty/libz/uncompr.c')
-rw-r--r--thirdparty/libz/uncompr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/libz/uncompr.c b/thirdparty/libz/uncompr.c
index ad98be3a..242e9493 100644
--- a/thirdparty/libz/uncompr.c
+++ b/thirdparty/libz/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;