summaryrefslogtreecommitdiffstats
path: root/modules/zlib/src/infback.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/zlib/src/infback.c')
-rw-r--r--modules/zlib/src/infback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/zlib/src/infback.c b/modules/zlib/src/infback.c
index f3833c2e4..59679ecbf 100644
--- a/modules/zlib/src/infback.c
+++ b/modules/zlib/src/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;