aboutsummaryrefslogtreecommitdiff
path: root/zlib/uncompr.c
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2015-11-23 20:27:57 +0000
committerMatthias Klose <doko@gcc.gnu.org>2015-11-23 20:27:57 +0000
commitcd9ec14217a566fa0ae12ccf34534cbb7680f5ab (patch)
treec0867a0d04452190fa29a7e38ad632c37d5221cd /zlib/uncompr.c
parent4c93660449ea23e5eee1f8ce3e97129c7974b7fc (diff)
2015-11-23 Matthias Klose <doko@ubuntu.com>
* Imported zlib 1.2.8; merged local changes. From-SVN: r230774
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 8a2e1f97194..cf2e3a0486b 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;