From bebbc7f9f7aeee883a48dd82e74fc2980433b168 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 5 Nov 2013 11:57:30 +0100 Subject: [PATCH] Pass int64_t to intsetGet() instead of long long. --- src/db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.c b/src/db.c index 5f357aa9a8..dd02526579 100644 --- a/src/db.c +++ b/src/db.c @@ -445,7 +445,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));