projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61c7d20
)
util/bitset: Allow iterating over const bitsets
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sun, 17 Jan 2016 00:42:06 +0000
(16:42 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 24 Mar 2016 22:20:44 +0000
(15:20 -0700)
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
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;