diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:34:22 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:34:22 -0700 |
| commit | 05d47d2627a68a15ba23fb10b17fbc73551aeec1 (patch) | |
| tree | 8d5e1688e69c51c487e8b44a9e9d8ca71f67cfd0 /gzread.c | |
| parent | a1141160bcf563f1a269be68a21f1651f687bb69 (diff) | |
| download | zlib-1.2.4.1.tar.gz zlib-1.2.4.1.tar.bz2 zlib-1.2.4.1.zip | |
zlib 1.2.4.1v1.2.4.1
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 | } |
