diff --git a/src/networking.c b/src/networking.c index 0b69f540..c844a999 100644 --- a/src/networking.c +++ b/src/networking.c @@ -813,7 +813,7 @@ void sendReplyToClient(aeEventLoop *el, int fd, void *privdata, int mask) { /* If the buffer was sent, set bufpos to zero to continue with * the remainder of the reply. */ - if (c->sentlen == c->bufpos) { + if ((int)c->sentlen == c->bufpos) { c->bufpos = 0; c->sentlen = 0; }