update zlib to v1.2.8

This commit is contained in:
Tetsuo55
2013-06-22 17:39:46 +02:00
parent d86185ca54
commit 88d1195f93
23 changed files with 1920 additions and 912 deletions

View File

@ -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: */