mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 20:00:00 +00:00
Use REDIS_HLL_REGISTER_MAX when possible.
This commit is contained in:
parent
1c88c5941b
commit
f22397dd7f
@ -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'.
|
||||
|
Loading…
Reference in New Issue
Block a user