SCAN iter parsing changed from atoi to chartoull

This commit is contained in:
ubuntu
2015-09-07 13:25:30 +02:00
committed by antirez
parent 49f2f691cb
commit 0513de624c
+1 -1
View File
@@ -1582,7 +1582,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;
}