]> git.saurik.com Git - redis.git/blobdiff - src/t_zset.c
More rioRead()
[redis.git] / src / t_zset.c
index e9da9fdb223f035f36e1672bc526f8a9ca219dae..3e76ebd1517c1c690ee4a53c16d0d6988dd179ec 100644 (file)
@@ -1233,7 +1233,7 @@ int zuiNext(zsetopsrc *op, zsetopval *val) {
     if (op->type == REDIS_SET) {
         iterset *it = &op->iter.set;
         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;
             val->score = 1.0;