From 8416dc33ceef9484f001b2daf721e5ae65131a0c Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 28 Apr 2004 20:18:22 +0000 Subject: [PATCH] nick, is this what you meant? svn:r1740 --- trunk/src/common/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/common/util.h b/trunk/src/common/util.h index dcfe7a94dc..742ca9f37b 100644 --- a/trunk/src/common/util.h +++ b/trunk/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__ "???"