From 4a82836fd9c03eb930e934e8839d560694145b6c Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Wed, 19 Feb 2014 23:14:37 +0100 Subject: [PATCH] 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* --- src/common/compressor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.20.1