X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fcompressor.cpp;h=fd4fb3c90e046561c8925beae5cef60b78a47392;hb=695758015a80eb8c158a9ac4c0f1c0b547e70df3;hp=1d2233ac896c5363255c1476cb937184a2b3a360;hpb=f64d4eec4bba63ececdece95f5c73b0ac550acd4;p=quassel.git diff --git a/src/common/compressor.cpp b/src/common/compressor.cpp index 1d2233ac..fd4fb3c9 100644 --- a/src/common/compressor.cpp +++ b/src/common/compressor.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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)) {