Skip to content

Commit 92a0e1e

Browse files
Update len to long in various places
1 parent 0ae9731 commit 92a0e1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cluster_library.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ cluster_multibulk_resp_recursive(RedisSock *sock, size_t elements,
118118
{
119119
size_t idx = 0;
120120
clusterReply *r;
121-
int len;
121+
long len;
122122
char buf[1024];
123123

124124
while(elements-- > 0) {
@@ -614,7 +614,7 @@ clusterReply* cluster_get_slots(RedisSock *redis_sock TSRMLS_DC)
614614
{
615615
clusterReply *r;
616616
REDIS_REPLY_TYPE type;
617-
int len;
617+
long len;
618618

619619
// Send the command to the socket and consume reply type
620620
if(redis_sock_write(redis_sock, RESP_CLUSTER_SLOTS_CMD,

0 commit comments

Comments
 (0)