diff --git a/src/db.c b/src/db.c index d490e2aa..2115515c 100644 --- a/src/db.c +++ b/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));