mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Pass int64_t to intsetGet() instead of long long.
This commit is contained in:
parent
20fb91fd31
commit
eb95d28898
2
src/db.c
2
src/db.c
@ -455,7 +455,7 @@ void scanGenericCommand(redisClient *c, robj *o) {
|
||||
} while (cursor && listLength(keys) < count);
|
||||
} else if (o->type == REDIS_SET) {
|
||||
int pos = 0;
|
||||
long long ll;
|
||||
int64_t ll;
|
||||
|
||||
while(intsetGet(o->ptr,pos++,&ll))
|
||||
listAddNodeTail(keys,createStringObjectFromLongLong(ll));
|
||||
|
Loading…
x
Reference in New Issue
Block a user