summaryrefslogtreecommitdiff
path: root/src/intset.c
diff options
context:
space:
mode:
authorrojingeorge <itsmerojin@gmail.com>2016-06-23 21:34:03 +0530
committerrojingeorge <itsmerojin@gmail.com>2016-06-23 21:34:03 +0530
commit4aab50ac7b7565a9d87f5810b07efe1b69e27b1a (patch)
tree5e54eafad9769fdc6bdbb6a08ff9c921d65ca835 /src/intset.c
parent646c958bbd506839f02dbe8801275e11e2657955 (diff)
parentf60aa4de302992ac458f2f39d0e4918d4734723d (diff)
downloadredis-4aab50ac7b7565a9d87f5810b07efe1b69e27b1a.tar.gz
Merge remote-tracking branch 'refs/remotes/antirez/unstable' into unstable
Diffstat (limited to 'src/intset.c')
-rw-r--r--src/intset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intset.c b/src/intset.c
index b0a597fc7..30ea85344 100644
--- a/src/intset.c
+++ b/src/intset.c
@@ -272,7 +272,7 @@ uint8_t intsetGet(intset *is, uint32_t pos, int64_t *value) {
}
/* Return intset length */
-uint32_t intsetLen(intset *is) {
+uint32_t intsetLen(const intset *is) {
return intrev32ifbe(is->length);
}