aboutsummaryrefslogtreecommitdiff
path: root/zlib/compress.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/compress.c
parent4c93660449ea23e5eee1f8ce3e97129c7974b7fc (diff)
downloadgcc-cd9ec14217a566fa0ae12ccf34534cbb7680f5ab.zip
gcc-cd9ec14217a566fa0ae12ccf34534cbb7680f5ab.tar.gz
gcc-cd9ec14217a566fa0ae12ccf34534cbb7680f5ab.tar.bz2
2015-11-23 Matthias Klose <doko@ubuntu.com>
* Imported zlib 1.2.8; merged local changes. From-SVN: r230774
Diffstat (limited to 'zlib/compress.c')
-rw-r--r--zlib/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zlib/compress.c b/zlib/compress.c
index 7de9766..5dfe73b 100644
--- a/zlib/compress.c
+++ b/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: */