X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=thirdparty%2Fzlib%2Fcompress.c;fp=thirdparty%2Fzlib%2Fcompress.c;h=6e9762676a0d052ac224b72dac12f2b5ffffaba5;hb=cfb8a74451e3a4063b2e7638cfbb15ad6b533600;hp=ea4dfbe9d7b3ee2b7b380cc435973aca1976d4c0;hpb=62e2252a0bf71d12c36d3506aafe824643a05766;p=apitrace diff --git a/thirdparty/zlib/compress.c b/thirdparty/zlib/compress.c index ea4dfbe..6e97626 100644 --- a/thirdparty/zlib/compress.c +++ b/thirdparty/zlib/compress.c @@ -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: */