diff options
author | Chris Robinson <[email protected]> | 2017-04-16 15:05:57 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-04-16 15:05:57 -0700 |
commit | 064176d03d33d93c107a087fe178261cfc637719 (patch) | |
tree | 5d6481edcb51637b410100fdb926176bee1fbb12 /OpenAL32/Include/alMain.h | |
parent | 8f1a968d7934117fa5ff499e3989ea2ae8e17b52 (diff) |
Remove some unnecessary parenthesis
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index fc2c5e8f..a08fbbbe 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -256,7 +256,7 @@ static const union { } EndianTest = { 1 }; #define IS_LITTLE_ENDIAN (EndianTest.b[0] == 1) -#define COUNTOF(x) (sizeof((x))/sizeof((x)[0])) +#define COUNTOF(x) (sizeof(x) / sizeof(0[x])) #define DERIVE_FROM_TYPE(t) t t##_parent |