Updated to version 1.2.8 of ZLib

This commit is contained in:
Gianluca Bertani
2013-06-18 23:23:28 +02:00
parent e8b715640e
commit 2caf1cea56
17 changed files with 227 additions and 130 deletions
+1 -1
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;