aboutsummaryrefslogtreecommitdiff
path: root/zlib/uncompr.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2015-11-25 15:09:09 -0800
committerJoel Brobecker <brobecker@adacore.com>2015-11-25 15:14:47 -0800
commitda09a436519e8085d328a586c438b5b0a560924d (patch)
tree00c45547fe27ee944ef36f7260a241e9d287a17b /zlib/uncompr.c
parent74b03b91333ccbc8fa70647eca22062e902f797f (diff)
downloadgdb-da09a436519e8085d328a586c438b5b0a560924d.zip
gdb-da09a436519e8085d328a586c438b5b0a560924d.tar.gz
gdb-da09a436519e8085d328a586c438b5b0a560924d.tar.bz2
Import zlib 1.2.8 with local change merged in.
ChangeLog: * zlib: Update to zlib 1.2.8 with local changes merged in.
Diffstat (limited to 'zlib/uncompr.c')
-rw-r--r--zlib/uncompr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zlib/uncompr.c b/zlib/uncompr.c
index 8a2e1f9..cf2e3a0 100644
--- a/zlib/uncompr.c
+++ b/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;