summaryrefslogtreecommitdiff
path: root/src/intset.h
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.h
parent0b4b7ebd957448cb59cf3e3c365772b29067ede7 (diff)
downloadredis-8f3a4df77599e4523bee7dc1db60b0863d6a6a49.tar.gz
Use const in Redis Module API where possible.
Diffstat (limited to 'src/intset.h')
-rw-r--r--src/intset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intset.h b/src/intset.h
index 30a854f89..8119e6636 100644
--- a/src/intset.h
+++ b/src/intset.h
@@ -44,7 +44,7 @@ intset *intsetRemove(intset *is, int64_t value, int *success);
uint8_t intsetFind(intset *is, int64_t value);
int64_t intsetRandom(intset *is);
uint8_t intsetGet(intset *is, uint32_t pos, int64_t *value);
-uint32_t intsetLen(intset *is);
+uint32_t intsetLen(const intset *is);
size_t intsetBlobLen(intset *is);
#ifdef REDIS_TEST