Commit ac1eda60 authored by antirez's avatar antirez
Browse files

Fixed warning on Linux

parent 598387b9
...@@ -1260,7 +1260,7 @@ int zuiNext(zsetopsrc *op, zsetopval *val) { ...@@ -1260,7 +1260,7 @@ int zuiNext(zsetopsrc *op, zsetopval *val) {
if (op->type == REDIS_SET) { if (op->type == REDIS_SET) {
iterset *it = &op->iter.set; iterset *it = &op->iter.set;
if (op->encoding == REDIS_ENCODING_INTSET) { if (op->encoding == REDIS_ENCODING_INTSET) {
if (!intsetGet(it->is.is,it->is.ii,&val->ell)) if (!intsetGet(it->is.is,it->is.ii,(int64_t*)&val->ell))
return 0; return 0;
val->score = 1.0; val->score = 1.0;
......
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