mirror of
https://github.com/fluencelabs/redis
synced 2025-06-21 04:51:32 +00:00
SCAN iter parsing changed from atoi to chartoull
This commit is contained in:
@ -1584,7 +1584,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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user