summaryrefslogtreecommitdiff
path: root/src/intset.c
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2016-06-20 23:08:06 +0300
committerYossi Gottlieb <yossigo@gmail.com>2016-06-20 23:08:06 +0300
commit8f3a4df77599e4523bee7dc1db60b0863d6a6a49 (patch)
treecf7863e3510b79c2721864e1ee8eb1dd93365dfe /src/intset.c
parent0b4b7ebd957448cb59cf3e3c365772b29067ede7 (diff)
downloadredis-8f3a4df77599e4523bee7dc1db60b0863d6a6a49.tar.gz
Use const in Redis Module API where possible.
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);
}