summaryrefslogtreecommitdiffstats
path: root/cpukit/zlib/gzread.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-03-19 07:42:49 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-03-19 07:42:49 +0000
commit791d3cdcf73cf6721e91c1d5e0837c679944ce19 (patch)
tree17e6fc320aeab4fbfcf49103daf36323bf205f9a /cpukit/zlib/gzread.c
parentfad4d97397153a0826d13568a722702a03930696 (diff)
downloadrtems-791d3cdcf73cf6721e91c1d5e0837c679944ce19.tar.bz2
Update to zlib-1.2.5.
Diffstat (limited to 'cpukit/zlib/gzread.c')
-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;
}