aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/logging
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/logging')
-rw-r--r--NorthstarDLL/logging/logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/logging/logging.cpp b/NorthstarDLL/logging/logging.cpp
index 53795ef0..9627f9c1 100644
--- a/NorthstarDLL/logging/logging.cpp
+++ b/NorthstarDLL/logging/logging.cpp
@@ -134,7 +134,7 @@ void InitialiseConsole()
if (!strstr(GetCommandLineA(), "-noansiclr"))
{
g_bSpdLog_UseAnsiColor = true;
- DWORD dwMode = NULL;
+ DWORD dwMode = 0;
HANDLE hOutput = GetStdHandle(STD_OUTPUT_HANDLE);
GetConsoleMode(hOutput, &dwMode);