summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-11-05 11:57:30 +0100
committerantirez <antirez@gmail.com>2013-11-05 17:24:17 +0100
commitbebbc7f9f7aeee883a48dd82e74fc2980433b168 (patch)
tree28a2bb9f8006e89ce54012f21ec0d9cd78f94869
parent736e343509feba822fa41b0fac89c093a0e40e9e (diff)
downloadredis-bebbc7f9f7aeee883a48dd82e74fc2980433b168.tar.gz
Pass int64_t to intsetGet() instead of long long.
-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));