util: replace Elements() with ARRAY_SIZE()
[mesa.git] / src / util / bitset.h
index 17c5d5d252aae6e320dd17de5d977c68c6c2a78f..febcddefd9714c37c35281d0da89fb53a5700fd7 100644 (file)
@@ -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