Commit 3ff2d65f authored by ubuntu's avatar ubuntu Committed by antirez
Browse files

SCAN iter parsing changed from atoi to chartoull

parent 194b7e21
...@@ -1566,7 +1566,7 @@ static redisReply *sendScan(unsigned long long *it) { ...@@ -1566,7 +1566,7 @@ static redisReply *sendScan(unsigned long long *it) {
assert(reply->element[1]->type == REDIS_REPLY_ARRAY); assert(reply->element[1]->type == REDIS_REPLY_ARRAY);
/* Update iterator */ /* Update iterator */
*it = atoi(reply->element[0]->str); *it = strtoull(reply->element[0]->str, NULL, 10);
return reply; return reply;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment