X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=thirdparty%2Fzlib%2Funcompr.c;fp=thirdparty%2Fzlib%2Funcompr.c;h=242e9493dff5c26d7f06104b6dd1ca22d8201215;hb=cfb8a74451e3a4063b2e7638cfbb15ad6b533600;hp=ad98be3a5d88afd479d3442cd234747ca259c60d;hpb=62e2252a0bf71d12c36d3506aafe824643a05766;p=apitrace diff --git a/thirdparty/zlib/uncompr.c b/thirdparty/zlib/uncompr.c index ad98be3..242e949 100644 --- a/thirdparty/zlib/uncompr.c +++ b/thirdparty/zlib/uncompr.c @@ -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;