aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/util/bitset.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/util/bitset.h')
-rw-r--r--mesalib/src/util/bitset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/util/bitset.h b/mesalib/src/util/bitset.h
index 17c5d5d25..febcddefd 100644
--- a/mesalib/src/util/bitset.h
+++ b/mesalib/src/util/bitset.h
@@ -94,6 +94,6 @@ __bitset_ffs(const BITSET_WORD *x, int n)
return 0;
}
-#define BITSET_FFS(x) __bitset_ffs(x, Elements(x))
+#define BITSET_FFS(x) __bitset_ffs(x, ARRAY_SIZE(x))
#endif