Skip to content

Commit 3c7a360

Browse files
committed
try to fix evalsha segfault
1 parent 2f8d21c commit 3c7a360

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redis.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3030,8 +3030,8 @@ redis_build_eval_cmd(RedisSock *redis_sock, char **ret, char *keyword,
30303030
{
30313031
zval *elem;
30323032
HashTable *args_hash;
3033-
int cmd_len, args_count = 0;
3034-
int eval_cmd_count = 2;
3033+
size_t cmd_len;
3034+
int eval_cmd_count = 2, args_count = 0;
30353035

30363036
// If we've been provided arguments, we'll want to include those in our eval
30373037
// command

0 commit comments

Comments
 (0)