From f320d9b35e175947bfed000f0cda1594b0be4e11 Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Wed, 13 Jan 2016 08:20:49 -0800 Subject: Update len to long in various places --- cluster_library.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cluster_library.c') 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, -- cgit v1.2.3