diff options
author | Nayd <dnpd.dd@gmail.com> | 2014-12-24 17:45:29 +0000 |
---|---|---|
committer | Nayd <dnpd.dd@gmail.com> | 2014-12-24 17:45:29 +0000 |
commit | 09f57db03d352a12d18d06a9c1616045f233dc4d (patch) | |
tree | 42859cfd2326884b3325345b96f21b2cb1136ebb /dep/zlib/compress.c | |
parent | 33a492e822425506884f5ca3d3baef8d5d7d94d7 (diff) |
Dep/zlib: Update zlib from version 1.2.7 to 1.2.8
"Version 1.2.8 fixes a very rare bug in decompression. All users are encouraged to upgrade immediately. Version 1.2.8 also has these improvements:
Add new inflateGetDictionary() function
Fix bug where gzopen() immediately followed by gzclose() would write an empty file instead of an empty gzip stream.
Fix bug in gzclose() when gzwrite() runs out of memory"
Diffstat (limited to 'dep/zlib/compress.c')
-rw-r--r-- | dep/zlib/compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/zlib/compress.c b/dep/zlib/compress.c index ea4dfbe9d7b..6e9762676a0 100644 --- a/dep/zlib/compress.c +++ b/dep/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: */ |