summaryrefslogtreecommitdiff
path: root/src/db.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-11-05 11:57:30 +0100
committerantirez <antirez@gmail.com>2013-11-05 11:57:30 +0100
commiteb95d288984d19fe7caf259708f4b8770662b2e7 (patch)
tree5592176583c70ae65812dac911bc3b97327e4359 /src/db.c
parent20fb91fd31e1de9ca687e302f0f05d229713c9ed (diff)
downloadredis-eb95d288984d19fe7caf259708f4b8770662b2e7.tar.gz
Pass int64_t to intsetGet() instead of long long.
Diffstat (limited to 'src/db.c')
-rw-r--r--src/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index d490e2aa2..2115515ce 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));