diff options
author | michael-grunder <michael.grunder@gmail.com> | 2016-01-13 19:20:49 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2016-01-13 19:21:11 +0300 |
commit | f320d9b35e175947bfed000f0cda1594b0be4e11 (patch) | |
tree | e5746bb0642496e5037104db2030e01d89a3ff5f /cluster_library.c | |
parent | 433035d1536d597600270580821017be71a4986e (diff) |
Update len to long in various places
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, |