diff options
author | delphij <delphij@FreeBSD.org> | 2010-03-31 17:13:59 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-03-31 17:13:59 +0000 |
commit | b831b4e204eee9e907b3efcc142a460fa3492f8d (patch) | |
tree | 316b75ef2f36568188dd097567fff7d4adc0ba2f /gzread.c | |
parent | cd4a6369772480dc704cd4f6b05d8449abe0149a (diff) | |
download | FreeBSD-src-b831b4e204eee9e907b3efcc142a460fa3492f8d.zip FreeBSD-src-b831b4e204eee9e907b3efcc142a460fa3492f8d.tar.gz |
Import zlib 1.2.4.1 beta (trimmed)
Diffstat (limited to 'gzread.c')
-rw-r--r-- | gzread.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |