From d264e818c3daa5bccb33814774f3437bf733967c Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 21 May 2011 23:11:48 +0200 Subject: [PATCH] Reacted on -Wextra -Wno-unused-parameter warnings of gcc for filters/gzip.c --- libisofs/filters/gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/filters/gzip.c b/libisofs/filters/gzip.c index b4fd942..69aa6a1 100644 --- a/libisofs/filters/gzip.c +++ b/libisofs/filters/gzip.c @@ -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;