aboutsummaryrefslogtreecommitdiff
path: root/c/common.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-18 03:14:39 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-18 03:14:39 +0200
commit03d9db8d5ff22faa27ab25264727bb09ba87d66d (patch)
treef914b33d10feb231170853c12092ccc527af6c2b /c/common.cpp
parent41745326d8440340a87b5179139b2915efe3715d (diff)
downloadEpisodeBrowser-03d9db8d5ff22faa27ab25264727bb09ba87d66d.tar.gz
Solve compiler warnings.
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);
}