Pass int64_t to intsetGet() instead of long long.

This commit is contained in:
antirez 2013-11-05 11:57:30 +01:00
parent 20fb91fd31
commit eb95d28898

View File

@ -455,7 +455,7 @@ void scanGenericCommand(redisClient *c, robj *o) {
} while (cursor && listLength(keys) < count); } while (cursor && listLength(keys) < count);
} else if (o->type == REDIS_SET) { } else if (o->type == REDIS_SET) {
int pos = 0; int pos = 0;
long long ll; int64_t ll;
while(intsetGet(o->ptr,pos++,&ll)) while(intsetGet(o->ptr,pos++,&ll))
listAddNodeTail(keys,createStringObjectFromLongLong(ll)); listAddNodeTail(keys,createStringObjectFromLongLong(ll));