projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
13c1c8f
)
Silence yet another warning
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Wed, 19 Feb 2014 22:14:37 +0000
(23:14 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Wed, 19 Feb 2014 22:14:37 +0000
(23:14 +0100)
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
patch
|
blob
|
history
diff --git
a/src/common/compressor.cpp
b/src/common/compressor.cpp
index
1d2233a
..
f391a43
100644
(file)
--- 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<unsigned int>(ioBufferSize)
)
continue; // nothing to write here
if (!_socket->write(_outputBuffer.constData(), ioBufferSize - _deflater->avail_out)) {