aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/outputBuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index cda56d4b1..15b7b26d9 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -75,7 +75,7 @@ void clearOutputBuffer(OutputBuffer * cb)
void flushOutputBuffer(OutputBuffer * cb)
{
if (currentChunk == cb->end) {
- if ((cb->end + 1) >= buffered_chunks) {
+ if (((unsigned)cb->end + 1) >= buffered_chunks) {
cb->end = 0;
}
else cb->end++;