diff options
Diffstat (limited to 'cluster_library.c')
-rw-r--r-- | cluster_library.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster_library.c b/cluster_library.c index 8ef0b53e..a67f9ddf 100644 --- a/cluster_library.c +++ b/cluster_library.c @@ -117,7 +117,7 @@ cluster_multibulk_resp_recursive(RedisSock *sock, size_t elements, { size_t idx = 0; clusterReply *r; - int len; + long len; char buf[1024]; while(elements-- > 0) { @@ -587,7 +587,7 @@ clusterReply* cluster_get_slots(RedisSock *redis_sock TSRMLS_DC) { clusterReply *r; REDIS_REPLY_TYPE type; - int len; + long len; // Send the command to the socket and consume reply type if(redis_sock_write(redis_sock, RESP_CLUSTER_SLOTS_CMD, |