aboutsummaryrefslogtreecommitdiffstats
path: root/gzread.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2010-03-31 17:13:59 +0000
committerXin LI <delphij@FreeBSD.org>2010-03-31 17:13:59 +0000
commita665426b03b0f88ddb21074e5f760c8d3ba25fd1 (patch)
tree316b75ef2f36568188dd097567fff7d4adc0ba2f /gzread.c
parentdb6fdb68ea8eaad189c4fd5bb521cb68b27e53a8 (diff)
downloadsrc-a665426b03b0f88ddb21074e5f760c8d3ba25fd1.tar.gz
src-a665426b03b0f88ddb21074e5f760c8d3ba25fd1.zip
Import zlib 1.2.4.1 beta (trimmed)vendor/zlib/1.2.4.1
Notes
Notes: svn path=/vendor/libz/dist/; revision=205990 svn path=/vendor/libz/1.2.4.1/; revision=205991; tag=vendor/zlib/1.2.4.1
Diffstat (limited to 'gzread.c')
-rw-r--r--gzread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gzread.c b/gzread.c
index 434ef023e0a7..548201ab0099 100644
--- a/gzread.c
+++ b/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;
}