]> git.cworth.org Git - apitrace/blobdiff - thirdparty/zlib/uncompr.c
Update to zlib version 1.2.8.
[apitrace] / thirdparty / zlib / uncompr.c
index ad98be3a5d88afd479d3442cd234747ca259c60d..242e9493dff5c26d7f06104b6dd1ca22d8201215 100644 (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;