aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/logging/sourceconsole.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/logging/sourceconsole.cpp')
-rw-r--r--NorthstarDLL/logging/sourceconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/logging/sourceconsole.cpp b/NorthstarDLL/logging/sourceconsole.cpp
index 16080794..e436d1d4 100644
--- a/NorthstarDLL/logging/sourceconsole.cpp
+++ b/NorthstarDLL/logging/sourceconsole.cpp
@@ -71,7 +71,7 @@ void InitialiseConsoleOnInterfaceCreation()
{
(*g_pSourceGameConsole)->Initialize();
// hook OnCommandSubmitted so we print inputted commands
- OnCommandSubmittedHook.Dispatch((*g_pSourceGameConsole)->m_pConsole->m_vtable->OnCommandSubmitted);
+ OnCommandSubmittedHook.Dispatch((LPVOID)(*g_pSourceGameConsole)->m_pConsole->m_vtable->OnCommandSubmitted);
auto consoleSink = std::make_shared<SourceConsoleSink>();
if (g_bSpdLog_UseAnsiColor)