aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/core/filesystem/filesystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/core/filesystem/filesystem.cpp')
-rw-r--r--NorthstarDLL/core/filesystem/filesystem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/NorthstarDLL/core/filesystem/filesystem.cpp b/NorthstarDLL/core/filesystem/filesystem.cpp
index 88622e5d..d9c70476 100644
--- a/NorthstarDLL/core/filesystem/filesystem.cpp
+++ b/NorthstarDLL/core/filesystem/filesystem.cpp
@@ -179,7 +179,7 @@ ON_DLL_LOAD("filesystem_stdio.dll", Filesystem, (CModule module))
R2::g_pFilesystem = new SourceInterface<IFileSystem>("filesystem_stdio.dll", "VFileSystem017");
- AddSearchPathHook.Dispatch((*g_pFilesystem)->m_vtable->AddSearchPath);
- ReadFromCacheHook.Dispatch((*g_pFilesystem)->m_vtable->ReadFromCache);
- MountVPKHook.Dispatch((*g_pFilesystem)->m_vtable->MountVPK);
+ AddSearchPathHook.Dispatch((LPVOID)(*g_pFilesystem)->m_vtable->AddSearchPath);
+ ReadFromCacheHook.Dispatch((LPVOID)(*g_pFilesystem)->m_vtable->ReadFromCache);
+ MountVPKHook.Dispatch((LPVOID)(*g_pFilesystem)->m_vtable->MountVPK);
}