util/bitset: Allow iterating over const bitsets

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
Jason Ekstrand 2016-01-16 16:42:06 -08:00
parent 61c7d20e4f
commit 9a41d94731

View file

@ -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;