From 68ab27e758936dd20326f9c5fb0076291270a28c Mon Sep 17 00:00:00 2001 From: John Sully Date: Sun, 1 Dec 2019 20:28:21 -0500 Subject: [PATCH] Fix warning Former-commit-id: 1d5ae423e039de437e8e48b5d15eb9908846bf04 --- src/cluster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster.cpp b/src/cluster.cpp index fd9367e8a..ec9ca06f9 100644 --- a/src/cluster.cpp +++ b/src/cluster.cpp @@ -4216,7 +4216,7 @@ void clusterReplyMultiBulkSlots(client *c) { /* If slot exists in output map, add to it's list. * else, create a new output map for this slot */ - if (start == j-1) { + if (start == (int)j-1) { addReplyLongLong(c, start); /* only one slot; low==high */ addReplyLongLong(c, start); } else {