X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompressor.cpp;h=f391a43bac3f1c29e193a92e8b54834101a8aae5;hp=1d2233ac896c5363255c1476cb937184a2b3a360;hb=4a82836fd9c03eb930e934e8839d560694145b6c;hpb=f64d4eec4bba63ececdece95f5c73b0ac550acd4 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)) {