mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05: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…
Reference in New Issue
Block a user