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:46:52 +0000 |
commit | cc9a58eabedc1241371772ec4430c1b4b5254a82 (patch) | |
tree | 27f9246e987421874b25daa889307179ec110ee5 /dep/zlib/uncompr.c | |
parent | 161d688d936b2ba49083711c1e7eae001101ed16 (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"
(cherry picked from commit 09f57db03d352a12d18d06a9c1616045f233dc4d)
Diffstat (limited to 'dep/zlib/uncompr.c')
-rw-r--r-- | dep/zlib/uncompr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/zlib/uncompr.c b/dep/zlib/uncompr.c index ad98be3a5d8..242e9493dff 100644 --- a/dep/zlib/uncompr.c +++ b/dep/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; |