Updated zlib to 1.2.8.

This commit is contained in:
Roman Donchenko
2013-08-22 17:59:27 +04:00
parent 893e8b4371
commit 797beef383
19 changed files with 293 additions and 133 deletions

View File

@@ -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;