projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: replace Elements() with ARRAY_SIZE()
[mesa.git]
/
src
/
util
/
bitset.h
diff --git
a/src/util/bitset.h
b/src/util/bitset.h
index 17c5d5d252aae6e320dd17de5d977c68c6c2a78f..febcddefd9714c37c35281d0da89fb53a5700fd7 100644
(file)
--- a/
src/util/bitset.h
+++ b/
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