aboutsummaryrefslogtreecommitdiff
path: root/c/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/common.cpp')
-rw-r--r--c/common.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/common.cpp b/c/common.cpp
index a5b7316..c04d986 100644
--- a/c/common.cpp
+++ b/c/common.cpp
@@ -58,7 +58,7 @@ Library::~Library()
FreeLibrary(m_hModule);
}
-FARPROC Library::GetProcAddress(const char* const szProc)
+void* Library::GetProcAddress(const char* const szProc)
{
- return ::GetProcAddress(m_hModule, szProc);
+ return (void*)::GetProcAddress(m_hModule, szProc);
}