Update zlib to version 1.2.8

This commit is contained in:
mayeut
2015-07-04 18:45:06 +02:00
parent 35ddb3abc7
commit fb0e397330
25 changed files with 1656 additions and 2424 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;