summaryrefslogtreecommitdiffstats
path: root/cpukit/zlib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-03-18 10:11:38 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-03-18 10:11:38 +0000
commit43b1d3af770a6b68b969b84bc9f9397102886f97 (patch)
treee167986b62cb161ab8b43ec8d5e03252682008f4 /cpukit/zlib
parent94a2eccb2a6ecc5fc699cd86061ac7b507b2fc73 (diff)
downloadrtems-43b1d3af770a6b68b969b84bc9f9397102886f97.tar.bz2
Import from zlib-1.2.5
Diffstat (limited to 'cpukit/zlib')
-rw-r--r--cpukit/zlib/gzread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/zlib/gzread.c b/cpukit/zlib/gzread.c
index 434ef023e0..548201ab00 100644
--- a/cpukit/zlib/gzread.c
+++ b/cpukit/zlib/gzread.c
@@ -55,7 +55,8 @@ local int gz_avail(state)
if (state->err != Z_OK)
return -1;
if (state->eof == 0) {
- if (gz_load(state, state->in, state->size, &(strm->avail_in)) == -1)
+ if (gz_load(state, state->in, state->size,
+ (unsigned *)&(strm->avail_in)) == -1)
return -1;
strm->next_in = state->in;
}