util: replace Elements() with ARRAY_SIZE()
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user