zlib 1.2.4.1

This commit is contained in:
Mark Adler
2011-09-09 23:34:22 -07:00
parent a1141160bc
commit 05d47d2627
30 changed files with 248 additions and 130 deletions

View File

@@ -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;
}