summaryrefslogtreecommitdiffstats
path: root/compat/zlib/infback.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-01 19:15:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-01 19:15:39 (GMT)
commited907130be8d1febd42f6634573c9148a6a9969d (patch)
treeaea51eef2ca75a53cf572e338777dde86557b64d /compat/zlib/infback.c
parent0da419c1878651e189021c9f6e13cd5824fac68d (diff)
downloadtcl-ed907130be8d1febd42f6634573c9148a6a9969d.zip
tcl-ed907130be8d1febd42f6634573c9148a6a9969d.tar.gz
tcl-ed907130be8d1febd42f6634573c9148a6a9969d.tar.bz2
(cherry-pick): Update zlib to version 1.2.9. Dll's and *.lib files not updated yet
Diffstat (limited to 'compat/zlib/infback.c')
-rw-r--r--compat/zlib/infback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/zlib/infback.c b/compat/zlib/infback.c
index f3833c2..59679ec 100644
--- a/compat/zlib/infback.c
+++ b/compat/zlib/infback.c
@@ -1,5 +1,5 @@
/* infback.c -- inflate using a call-back interface
- * Copyright (C) 1995-2011 Mark Adler
+ * Copyright (C) 1995-2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -61,7 +61,7 @@ int stream_size;
Tracev((stderr, "inflate: allocated\n"));
strm->state = (struct internal_state FAR *)state;
state->dmax = 32768U;
- state->wbits = windowBits;
+ state->wbits = (uInt)windowBits;
state->wsize = 1U << windowBits;
state->window = window;
state->wnext = 0;