diff options
Diffstat (limited to 'infback.c')
-rw-r--r-- | infback.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |