summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-01-16 16:42:06 -0800
committerJason Ekstrand <[email protected]>2016-03-24 15:20:44 -0700
commit9a41d947319f2d2999b4b5442ce20443d7c3cf3a (patch)
treecab6e3461932976c1e1615a9694681699116420c /src/util
parent61c7d20e4f3c2902582acfcd7212f3357034f33b (diff)
util/bitset: Allow iterating over const bitsets
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/util')
-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;