aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/outputBuffer.c')
-rw-r--r--src/outputBuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index 4995fa9a5..8e2780eb2 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -53,7 +53,7 @@ static inline unsigned successor(const OutputBuffer * cb, unsigned i)
void flushOutputBuffer(OutputBuffer * cb)
{
- if (cb->currentChunk == cb->end) {
+ if (cb->currentChunk == (int)cb->end) {
cb->end = successor(cb, cb->end);
cb->currentChunk = -1;
}
@@ -125,7 +125,7 @@ static int tailChunk(OutputBuffer * cb, InputStream * inStream,
unsigned int next;
OutputBufferChunk *chunk;
- if (cb->currentChunk == cb->end)
+ if (cb->currentChunk == (int)cb->end)
return cb->currentChunk;
next = successor(cb, cb->end);