diff options
author | Christian Heimes <christian@cheimes.de> | 2013-10-21 10:03:09 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-10-21 10:03:09 (GMT) |
commit | c20bcde58dc2ed770900ab553ac663f2f1212fc2 (patch) | |
tree | 05eb7cad3054f3c5b8e557d40ef97bce5a416026 /Modules/zlib/compress.c | |
parent | 3ac1eb16d5c4b779da38895597ee5d7caf3d22bd (diff) | |
download | cpython-c20bcde58dc2ed770900ab553ac663f2f1212fc2.zip cpython-c20bcde58dc2ed770900ab553ac663f2f1212fc2.tar.gz cpython-c20bcde58dc2ed770900ab553ac663f2f1212fc2.tar.bz2 |
Issue #18527: Upgrade internal copy of zlib to 1.2.8
Diffstat (limited to 'Modules/zlib/compress.c')
-rw-r--r-- | Modules/zlib/compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zlib/compress.c b/Modules/zlib/compress.c index ea4dfbe..6e97626 100644 --- a/Modules/zlib/compress.c +++ b/Modules/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: */ |