diff options
author | Brian Paul <[email protected]> | 2015-02-28 13:28:06 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-03-02 08:55:31 -0700 |
commit | 692bd4a1ab9ae00a4771746626d4f33ceb8bcc9b (patch) | |
tree | 5e20daf2dbc5d0a8b64b7e5c61b52a47151e8110 | |
parent | 6633271159f99bc86d29a86d7e3802f0b60c7a11 (diff) |
util: replace Elements() with ARRAY_SIZE()
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/util/bitset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/bitset.h b/src/util/bitset.h index 17c5d5d252a..febcddefd97 100644 --- 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 |