util/bitset: Allow iterating over const bitsets
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
+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