diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2015-09-07 13:24:43 +0200 |
---|---|---|
committer | Salvatore Sanfilippo <antirez@gmail.com> | 2015-09-07 13:24:43 +0200 |
commit | 5f813035033a8a355c211e9bfb1694d8025c6634 (patch) | |
tree | 9a99a48efbda6616809beb59c2f546fcee570ec2 | |
parent | 467de61c84965208aea6d446010a504181b453f0 (diff) | |
parent | 11381b09d9feb7b355497704929354e801d39968 (diff) | |
download | redis-5f813035033a8a355c211e9bfb1694d8025c6634.tar.gz |
Merge pull request #2753 from ofirluzon/unstable
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 183270db1..88f39a6e9 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; } |