aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-04-16 15:05:57 -0700
committerChris Robinson <[email protected]>2017-04-16 15:05:57 -0700
commit064176d03d33d93c107a087fe178261cfc637719 (patch)
tree5d6481edcb51637b410100fdb926176bee1fbb12
parent8f1a968d7934117fa5ff499e3989ea2ae8e17b52 (diff)
Remove some unnecessary parenthesis
-rw-r--r--OpenAL32/Include/alMain.h2
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