Reacted on -Wextra -Wno-unused-parameter warnings of gcc for filters/gzip.c

This commit is contained in:
Thomas Schmitt 2011-05-21 23:11:48 +02:00
parent d0f740facf
commit d264e818c3

View File

@ -394,7 +394,7 @@ int gzip_stream_convert(IsoStream *stream, void *buf, size_t desired, int flag)
if (cnv_ret == Z_STREAM_ERROR || cnv_ret == Z_BUF_ERROR) {
return (rng->error_ret = ISO_ZLIB_COMPR_ERR);
}
if (strm->avail_out < rng->out_buffer_size)
if ((int) strm->avail_out < rng->out_buffer_size)
break; /* output is available */
if (strm->avail_in == 0) /* all pending input consumed */
break;