From 064176d03d33d93c107a087fe178261cfc637719 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 16 Apr 2017 15:05:57 -0700 Subject: [PATCH] Remove some unnecessary parenthesis --- OpenAL32/Include/alMain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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