mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 17:40:50 +00:00
fix the wrong description of intsetGet().
This commit is contained in:
parent
b1b1f4e8e8
commit
0f36e5e5d8
@ -261,7 +261,7 @@ int64_t intsetRandom(intset *is) {
|
||||
return _intsetGet(is,rand()%intrev32ifbe(is->length));
|
||||
}
|
||||
|
||||
/* Sets the value to the value at the given position. When this position is
|
||||
/* Get the value at the given position. When this position is
|
||||
* out of range the function returns 0, when in range it returns 1. */
|
||||
uint8_t intsetGet(intset *is, uint32_t pos, int64_t *value) {
|
||||
if (pos < intrev32ifbe(is->length)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user