]> git.cworth.org Git - apitrace/blobdiff - thirdparty/zlib/compress.c
Update to zlib version 1.2.8.
[apitrace] / thirdparty / zlib / compress.c
index ea4dfbe9d7b3ee2b7b380cc435973aca1976d4c0..6e9762676a0d052ac224b72dac12f2b5ffffaba5 100644 (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: */