Remove some unnecessary parenthesis

This commit is contained in:
Chris Robinson 2017-04-16 15:05:57 -07:00
parent 8f1a968d79
commit 064176d03d

View File

@ -256,7 +256,7 @@ static const union {
} EndianTest = { 1 }; } EndianTest = { 1 };
#define IS_LITTLE_ENDIAN (EndianTest.b[0] == 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 #define DERIVE_FROM_TYPE(t) t t##_parent