diff options
author | antirez <antirez@gmail.com> | 2010-12-09 10:21:02 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2010-12-09 10:21:02 +0100 |
commit | a5be65f71c927601260f4518236cbc7bc3d87965 (patch) | |
tree | d2eb064f92e798a343836bdc50b0290a5518b91b /src/intset.c | |
parent | d51ebef5090624a3ba0824fa697410deaff1d1fa (diff) | |
download | redis-a5be65f71c927601260f4518236cbc7bc3d87965.tar.gz |
COW friendly versions of SPOP and SRANDMEMBER commands, with some change to the set encoding-agnostic API.
Diffstat (limited to 'src/intset.c')
-rw-r--r-- | src/intset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intset.c b/src/intset.c index 2f359b7ff..bfd3307d2 100644 --- a/src/intset.c +++ b/src/intset.c @@ -179,7 +179,7 @@ intset *intsetAdd(intset *is, int64_t value, uint8_t *success) { } /* Delete integer from intset */ -intset *intsetRemove(intset *is, int64_t value, uint8_t *success) { +intset *intsetRemove(intset *is, int64_t value, int *success) { uint8_t valenc = _intsetValueEncoding(value); uint32_t pos; if (success) *success = 0; |