summaryrefslogtreecommitdiff
path: root/infback.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2016-10-11 22:15:50 -0700
committerHans Kristian Rosbach <hk-git@circlestorm.org>2017-01-31 12:24:20 +0100
commitf9bb580bcba2e94eb1c931d0d8d9146d86704557 (patch)
tree5b304d549df2af887cd3f8c006911953f1bd1eec /infback.c
parent52380f5b4475ad92c4aa5f033fa119fcb914e633 (diff)
Clean up type conversions.
Based on upstream 7096424f23df1b1813237fb5f8bc8f34cfcedd0c, but modified heavily to match zlib-ng.
Diffstat (limited to 'infback.c')
-rw-r--r--infback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/infback.c b/infback.c
index 4fc783f..49c90cc 100644
--- a/infback.c
+++ b/infback.c
@@ -46,7 +46,7 @@ int ZEXPORT inflateBackInit_(z_stream *strm, int windowBits, unsigned char *wind
Tracev((stderr, "inflate: allocated\n"));
strm->state = (struct internal_state *)state;
state->dmax = 32768U;
- state->wbits = windowBits;
+ state->wbits = (uInt)windowBits;
state->wsize = 1U << windowBits;
state->window = window;
state->wnext = 0;