From: Manuel Nickschas Date: Wed, 19 Feb 2014 22:14:37 +0000 (+0100) Subject: Silence yet another warning X-Git-Tag: 0.10-rc1~19 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=4a82836fd9c03eb930e934e8839d560694145b6c;ds=sidebyside Silence yet another warning I have no clue why neither gcc nor clang throw a -Wsign-compare for me there, but do for some other people, so... *sigh* --- diff --git a/src/common/compressor.cpp b/src/common/compressor.cpp index 1d2233ac..f391a43b 100644 --- a/src/common/compressor.cpp +++ b/src/common/compressor.cpp @@ -243,7 +243,7 @@ void Compressor::writeData() return; } - if (_deflater->avail_out == ioBufferSize) + if (_deflater->avail_out == static_cast(ioBufferSize)) continue; // nothing to write here if (!_socket->write(_outputBuffer.constData(), ioBufferSize - _deflater->avail_out)) {