summaryrefslogtreecommitdiffstats
path: root/compat/zlib/compress.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-13 14:07:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-13 14:07:56 (GMT)
commit9116440cfe8bf52e4ef8174ab27f688247156c00 (patch)
tree3049d1611ed52b83d19fcb4a6a67338bd98ce56e /compat/zlib/compress.c
parent1ca1aefb24495d43ae986af6c1a2ad1fa5bf22ce (diff)
downloadtcl-9116440cfe8bf52e4ef8174ab27f688247156c00.zip
tcl-9116440cfe8bf52e4ef8174ab27f688247156c00.tar.gz
tcl-9116440cfe8bf52e4ef8174ab27f688247156c00.tar.bz2
Upgrade to zlib 1.2.8
Diffstat (limited to 'compat/zlib/compress.c')
-rw-r--r--compat/zlib/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/zlib/compress.c b/compat/zlib/compress.c
index ea4dfbe..6e97626 100644
--- a/compat/zlib/compress.c
+++ b/compat/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: */