mirror of
https://github.com/fluencelabs/redis
synced 2025-05-15 03:51:21 +00:00
Fixed warning on Linux
This commit is contained in:
parent
598387b970
commit
ac1eda60b0
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user