diff options
Diffstat (limited to 'gzread.c')
-rw-r--r-- | gzread.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -58,7 +58,8 @@ local int gz_avail(state) | |||
58 | return -1; | 58 | return -1; |
59 | if (state->eof == 0) { | 59 | if (state->eof == 0) { |
60 | if (strm->avail_in) { /* copy what's there to the start */ | 60 | if (strm->avail_in) { /* copy what's there to the start */ |
61 | unsigned char *p = state->in, *q = strm->next_in; | 61 | unsigned char *p = state->in; |
62 | unsigned const char *q = strm->next_in; | ||
62 | unsigned n = strm->avail_in; | 63 | unsigned n = strm->avail_in; |
63 | do { | 64 | do { |
64 | *p++ = *q++; | 65 | *p++ = *q++; |