Commit eb95d288 authored by antirez's avatar antirez
Browse files

Pass int64_t to intsetGet() instead of long long.

parent 20fb91fd
...@@ -455,7 +455,7 @@ void scanGenericCommand(redisClient *c, robj *o) { ...@@ -455,7 +455,7 @@ void scanGenericCommand(redisClient *c, robj *o) {
} while (cursor && listLength(keys) < count); } while (cursor && listLength(keys) < count);
} else if (o->type == REDIS_SET) { } else if (o->type == REDIS_SET) {
int pos = 0; int pos = 0;
long long ll; int64_t ll;
while(intsetGet(o->ptr,pos++,&ll)) while(intsetGet(o->ptr,pos++,&ll))
listAddNodeTail(keys,createStringObjectFromLongLong(ll)); listAddNodeTail(keys,createStringObjectFromLongLong(ll));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment