diff options
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h index dcfe7a94dc..742ca9f37b 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -36,7 +36,7 @@ #define strncasecmp strnicmp #define strcasecmp stricmp #define INLINE __inline -#define _ARRAYSIZE(x) (((x)==0)?1:0) +#define _ARRAYSIZE(x) (((x)==0)?1:(x)) /* Windows compilers before VC7 don't have __FUNCTION__. */ #if _MSC_VER < 1300 #define __FUNCTION__ "???" |