Skip to content

Commit a243bcf

Browse files
committed
remove int cast
Signed-off-by: hwware <[email protected]>
1 parent aa88453 commit a243bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cluster_legacy.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6221,7 +6221,7 @@ int checkSlotAssignmentsOrReply(client *c, unsigned char *slots, int del, int st
62216221
return C_ERR;
62226222
}
62236223
if (slots[slot]++ == 1) {
6224-
addReplyErrorFormat(c, "Slot %d specified multiple times", (int)slot);
6224+
addReplyErrorFormat(c, "Slot %d specified multiple times", slot);
62256225
return C_ERR;
62266226
}
62276227
}

0 commit comments

Comments
 (0)