From 11381b09d9feb7b355497704929354e801d39968 Mon Sep 17 00:00:00 2001 From: ubuntu Date: Mon, 7 Sep 2015 11:20:52 +0000 Subject: [PATCH] SCAN iter parsing changed from atoi to chartoull --- src/redis-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis-cli.c b/src/redis-cli.c index 183270db..88f39a6e 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -1584,7 +1584,7 @@ static redisReply *sendScan(unsigned long long *it) { assert(reply->element[1]->type == REDIS_REPLY_ARRAY); /* Update iterator */ - *it = atoi(reply->element[0]->str); + *it = strtoull(reply->element[0]->str, NULL, 10); return reply; }