8000 Update len to long in various places · jrtkcoder/phpredis@f320d9b · GitHub
[go: up one dir, main page]

Skip to content

Commit f320d9b

Browse files
Update len to long in various places
1 parent 433035d commit f320d9b

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
@@ -117,7 +117,7 @@ cluster_multibulk_resp_recursive(RedisSock *sock, size_t elements,
117117
{
118118
size_t idx = 0;
119119
clusterReply *r;
120-
int len;
120+
long len;
121121
char buf[1024];
122122

123123
while(elements-- > 0) {
@@ -587,7 +587,7 @@ clusterReply* cluster_get_slots(RedisSock *redis_sock TSRMLS_DC)
587587
{
588588
clusterReply *r;
589589
REDIS_REPLY_TYPE type;
590-
int len;
590+
long len;
591591

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

0 commit comments

Comments
 (0)
0