From f853b15cc7eeb929b46d467a6c4a881006d022cf Mon Sep 17 00:00:00 2001 From: anders_k Date: Mon, 15 Nov 2010 18:17:41 +0000 Subject: [PATCH] A working COUNTOF would be nice git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6131 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/System/Source/System.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contrib/System/Source/System.c b/Contrib/System/Source/System.c index adcc9be0..54470b2a 100644 --- a/Contrib/System/Source/System.c +++ b/Contrib/System/Source/System.c @@ -73,7 +73,7 @@ TCHAR *GetResultStr(SystemProc *proc) #ifdef SYSTEM_LOG_DEBUG #ifndef COUNTOF -#define COUNTOF(a) ( sizeof(a) / (a[0]) ) +#define COUNTOF(a) ( sizeof(a) / sizeof(a[0]) ) #endif // System log debugging turned on