diff options
Diffstat (limited to '')
| -rw-r--r-- | gzread.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -55,7 +55,8 @@ local int gz_avail(state) | |||
| 55 | if (state->err != Z_OK) | 55 | if (state->err != Z_OK) |
| 56 | return -1; | 56 | return -1; |
| 57 | if (state->eof == 0) { | 57 | if (state->eof == 0) { |
| 58 | if (gz_load(state, state->in, state->size, &(strm->avail_in)) == -1) | 58 | if (gz_load(state, state->in, state->size, |
| 59 | (unsigned *)&(strm->avail_in)) == -1) | ||
| 59 | return -1; | 60 | return -1; |
| 60 | strm->next_in = state->in; | 61 | strm->next_in = state->in; |
| 61 | } | 62 | } |
