aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/logging
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2023-06-29 04:11:30 +0100
committerGitHub <noreply@github.com>2023-06-28 23:11:30 -0400
commitde970c559c836075cca888e9ad953293833b406a (patch)
treef88bae195b236d1d3f9adf310e5a5fe577fea05b /NorthstarDLL/logging
parent58a23248280a67ef91956d12cfd6021dda9fa1de (diff)
downloadNorthstarLauncher-de970c559c836075cca888e9ad953293833b406a.tar.gz
NorthstarLauncher-de970c559c836075cca888e9ad953293833b406a.zip
Use correctly typed values for variables (#486)
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);