https://git.reactos.org/?p=reactos.git;a=commitdiff;h=eea43394bf2a239e5507e…
commit eea43394bf2a239e5507eb15fb5201d261665f77
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sat Dec 16 20:58:08 2017 +0100
[KERNEL32] Improve the definition of EXENAME_LENGTH.
---
dll/win32/kernel32/client/console/console.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/kernel32/client/console/console.c
b/dll/win32/kernel32/client/console/console.c
index 6547c0c2c3..1e79b34e76 100644
--- a/dll/win32/kernel32/client/console/console.c
+++ b/dll/win32/kernel32/client/console/console.c
@@ -37,7 +37,7 @@ extern BOOL WINAPI IsDebuggerPresent(VOID);
/* Console Input facilities */
HANDLE InputWaitHandle = INVALID_HANDLE_VALUE;
-#define EXENAME_LENGTH 255 + 1
+#define EXENAME_LENGTH (255 + 1)
static RTL_CRITICAL_SECTION ExeNameLock;
static BOOLEAN ExeNameInitialized;
static WCHAR ExeNameBuffer[EXENAME_LENGTH]; // NULL-terminated