projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f509a89
)
util/bitset: Allow iterating over const bitsets
author
Jason Ekstrand
<jason@jlekstrand.net>
Sun, 17 Jan 2016 05:26:10 +0000
(21:26 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 18 Jan 2016 17:18:42 +0000
(09:18 -0800)
src/util/bitset.h
patch
|
blob
|
history
diff --git
a/src/util/bitset.h
b/src/util/bitset.h
index c452819414fae1839358c3c210dbbf810103a52c..2404ce7f630296b1c7622201e443f8b58e619406 100644
(file)
--- 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;