Skip to content

Commit

Permalink
Update len to long in various places
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-grunder committed Jan 13, 2016
1 parent 0ae9731 commit 92a0e1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster_library.c
Expand Up @@ -118,7 +118,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) {
Expand Down Expand Up @@ -614,7 +614,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,
Expand Down

0 comments on commit 92a0e1e

Please sign in to comment.