diff options
Diffstat (limited to '')
-rw-r--r-- | compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) | |||
29 | z_stream stream; | 29 | z_stream stream; |
30 | int err; | 30 | int err; |
31 | 31 | ||
32 | stream.next_in = (Bytef*)source; | 32 | stream.next_in = (z_const Bytef *)source; |
33 | stream.avail_in = (uInt)sourceLen; | 33 | stream.avail_in = (uInt)sourceLen; |
34 | #ifdef MAXSEG_64K | 34 | #ifdef MAXSEG_64K |
35 | /* Check for source > 64K on 16-bit machine: */ | 35 | /* Check for source > 64K on 16-bit machine: */ |