From 830ff3b2ce9680d9817a4d953bae3b9d7127d7af Mon Sep 17 00:00:00 2001 From: Lev Date: Wed, 25 Jan 2017 18:32:19 +0500 Subject: [PATCH] Added cast in call to FileSystem_Init. --- rehlds/engine/sys_dll2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/engine/sys_dll2.cpp b/rehlds/engine/sys_dll2.cpp index ca37d3c..c7aaaa8 100644 --- a/rehlds/engine/sys_dll2.cpp +++ b/rehlds/engine/sys_dll2.cpp @@ -693,7 +693,7 @@ bool CDedicatedServerAPI::Init_noVirt(char *basedir, char *cmdline, CreateInterf g_bIsDedicatedServer = TRUE; TraceInit("FileSystem_Init(basedir, (void *)filesystemFactory)", "FileSystem_Shutdown()", 0); - if (FileSystem_Init(basedir, filesystemFactory) && game->Init(0) && eng->Load(true, basedir, cmdline)) + if (FileSystem_Init(basedir, (void *)filesystemFactory) && game->Init(0) && eng->Load(true, basedir, cmdline)) { char text[256]; Q_snprintf(text, ARRAYSIZE(text), "exec %s\n", servercfgfile.string);