diff options
author | ubuntu <avi@redislabs.com> | 2015-09-07 11:20:52 +0000 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-09-07 13:25:38 +0200 |
commit | 3ff2d65ffa818291c342163437aa815192826aa5 (patch) | |
tree | 1071592ca494c5cf5aa25140fb49dc14dcf065a3 | |
parent | 194b7e218638c24850ee1d6c478e8528cf7599d7 (diff) | |
download | redis-3ff2d65ffa818291c342163437aa815192826aa5.tar.gz |
SCAN iter parsing changed from atoi to chartoull
-rw-r--r-- | src/redis-cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c index 131d3bf68..4dabbacce 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -1566,7 +1566,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; } |