提交 a18e880b 编写于 作者: A antirez

Use REDIS_HLL_REGISTER_MAX when possible.

上级 00409d87
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
int _rightshift = 8 - _leftshift; \ int _rightshift = 8 - _leftshift; \
target = ((_p[_byte] << _leftshift) | \ target = ((_p[_byte] << _leftshift) | \
(_p[_byte+1] >> _rightshift)) & \ (_p[_byte+1] >> _rightshift)) & \
((1<<REDIS_HLL_BITS)-1); \ REDIS_HLL_REGISTER_MAX; \
} while(0) } while(0)
/* Set the value of the register at position 'regnum' to 'val'. /* Set the value of the register at position 'regnum' to 'val'.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册