summaryrefslogtreecommitdiffstats
path: root/src/util/bitset.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-01-16 21:26:10 -0800
committerJason Ekstrand <[email protected]>2016-01-18 09:18:42 -0800
commitb1f1200e80f70105dc4b3e44a0c0ea447bd7891d (patch)
tree4dbce6eab497d8e9be1ac12f20be972b936a6230 /src/util/bitset.h
parentf509a890828dc54ffc113a581147ccfa8408b082 (diff)
util/bitset: Allow iterating over const bitsets
Diffstat (limited to 'src/util/bitset.h')
-rw-r--r--src/util/bitset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/bitset.h b/src/util/bitset.h
index c452819414f..2404ce7f630 100644
--- a/src/util/bitset.h
+++ b/src/util/bitset.h
@@ -98,7 +98,7 @@ __bitset_ffs(const BITSET_WORD *x, int n)
static inline unsigned
__bitset_next_set(unsigned i, BITSET_WORD *tmp,
- BITSET_WORD *set, unsigned size)
+ const BITSET_WORD *set, unsigned size)
{
unsigned bit, word;