X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/2f5abbfeb7fa928399d86889c14ebf8064706869..dd5fbedf7bb9ac02d14aa9ecaeafb47e48b9a587:/src/cluster.c diff --git a/src/cluster.c b/src/cluster.c index 42b01113..fadce42e 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -439,7 +439,7 @@ void clusterProcessGossipSection(clusterMsg *hdr, clusterLink *link) { * time PONG figure if it is newer than our figure. * Note that it's not a problem if we have a PING already * in progress against this node. */ - if (node->pong_received < ntohl(g->pong_received)) { + if (node->pong_received < (signed) ntohl(g->pong_received)) { redisLog(REDIS_DEBUG,"Node pong_received updated by gossip"); node->pong_received = ntohl(g->pong_received); }