[Mesa-dev] [PATCH 1/4] util/bitset: Allow iterating over const bitsets
Jason Ekstrand
jason at jlekstrand.net
Sat Jan 16 21:26:10 PST 2016
---
src/util/bitset.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/bitset.h b/src/util/bitset.h
index c452819..2404ce7 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;
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list