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