diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-03-18 10:11:38 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-03-18 10:11:38 +0000 |
commit | 43b1d3af770a6b68b969b84bc9f9397102886f97 (patch) | |
tree | e167986b62cb161ab8b43ec8d5e03252682008f4 /cpukit/zlib/gzread.c | |
parent | Import from zlib-1.2.4 (diff) | |
download | rtems-43b1d3af770a6b68b969b84bc9f9397102886f97.tar.bz2 |
Import from zlib-1.2.5
Diffstat (limited to '')
-rw-r--r-- | cpukit/zlib/gzread.c | 3 |
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; } |