projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6633271
)
util: replace Elements() with ARRAY_SIZE()
author
Brian Paul
<brianp@vmware.com>
Sat, 28 Feb 2015 20:28:06 +0000
(13:28 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 2 Mar 2015 15:55:31 +0000
(08:55 -0700)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/util/bitset.h
patch
|
blob
|
history
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