summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-01-16 16:42:06 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2016-03-24 15:20:44 -0700
commit9a41d947319f2d2999b4b5442ce20443d7c3cf3a (patch)
treecab6e3461932976c1e1615a9694681699116420c /src/util
parent61c7d20e4f3c2902582acfcd7212f3357034f33b (diff)
downloadexternal_mesa3d-9a41d947319f2d2999b4b5442ce20443d7c3cf3a.zip
external_mesa3d-9a41d947319f2d2999b4b5442ce20443d7c3cf3a.tar.gz
external_mesa3d-9a41d947319f2d2999b4b5442ce20443d7c3cf3a.tar.bz2
util/bitset: Allow iterating over const bitsets
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/bitset.h2
1 files changed, 1 insertions, 1 deletions
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;