summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index 5f357aa9a..dd0252657 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));