aboutsummaryrefslogtreecommitdiff
path: root/zlib/infback.c
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2017-01-13 12:10:39 +0000
committerMatthias Klose <doko@gcc.gnu.org>2017-01-13 12:10:39 +0000
commitb7aa844d134204e302acc0c3f36f416656491305 (patch)
tree9dc36718c039f9b387af813329eb2b4c17b149e0 /zlib/infback.c
parent2252a8025df20cb5c58659cde04ac0ee0eee3ee1 (diff)
downloadgcc-b7aa844d134204e302acc0c3f36f416656491305.zip
gcc-b7aa844d134204e302acc0c3f36f416656491305.tar.gz
gcc-b7aa844d134204e302acc0c3f36f416656491305.tar.bz2
2017-01-13 Matthias Klose <doko@ubuntu.com>
* Import zlib 1.2.10. * configure: Regenerate. From-SVN: r244429
Diffstat (limited to 'zlib/infback.c')
-rw-r--r--zlib/infback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zlib/infback.c b/zlib/infback.c
index f3833c2..59679ec 100644
--- a/zlib/infback.c
+++ b/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;