aboutsummaryrefslogtreecommitdiff
path: root/infback.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:24:52 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:24:52 -0700
commit9c3a5830218c4e7fff23b8fc4386269db77a03a9 (patch)
tree913542049433ae44de55d22913f6bca921f2dc15 /infback.c
parent6b8233bfe00e79134cb1b84fc49d4f750a797f79 (diff)
downloadzlib-9c3a5830218c4e7fff23b8fc4386269db77a03a9.tar.gz
zlib-9c3a5830218c4e7fff23b8fc4386269db77a03a9.tar.bz2
zlib-9c3a5830218c4e7fff23b8fc4386269db77a03a9.zip
zlib 1.2.2.4v1.2.2.4
Diffstat (limited to 'infback.c')
-rw-r--r--infback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/infback.c b/infback.c
index c78d273..455dbc9 100644
--- a/infback.c
+++ b/infback.c
@@ -1,5 +1,5 @@
1/* infback.c -- inflate using a call-back interface 1/* infback.c -- inflate using a call-back interface
2 * Copyright (C) 1995-2004 Mark Adler 2 * Copyright (C) 1995-2005 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
@@ -50,7 +50,7 @@ int stream_size;
50 sizeof(struct inflate_state)); 50 sizeof(struct inflate_state));
51 if (state == Z_NULL) return Z_MEM_ERROR; 51 if (state == Z_NULL) return Z_MEM_ERROR;
52 Tracev((stderr, "inflate: allocated\n")); 52 Tracev((stderr, "inflate: allocated\n"));
53 strm->state = (voidpf)state; 53 strm->state = (struct internal_state FAR *)state;
54 state->dmax = 32768U; 54 state->dmax = 32768U;
55 state->wbits = windowBits; 55 state->wbits = windowBits;
56 state->wsize = 1U << windowBits; 56 state->wsize = 1U << windowBits;