Commit f22397dd authored by antirez's avatar antirez
Browse files

Use REDIS_HLL_REGISTER_MAX when possible.

parent 1c88c594
......@@ -155,7 +155,7 @@
int _rightshift = 8 - _leftshift; \
target = ((_p[_byte] << _leftshift) | \
(_p[_byte+1] >> _rightshift)) & \
((1<<REDIS_HLL_BITS)-1); \
REDIS_HLL_REGISTER_MAX; \
} while(0)
/* Set the value of the register at position 'regnum' to 'val'.
......
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