util/bitset: Allow iterating over const bitsets
This commit is contained in:
committed by
Jason Ekstrand
parent
f509a89082
commit
b1f1200e80
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user