aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/plugins.cpp')
-rw-r--r--base/plugins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp
index 3af0954719..a8e6ff63b6 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -151,7 +151,7 @@ void *DynamicPlugin::findSymbol(const char *symbol) {
return func;
#else
#if defined(_WIN32)
- void *func = GetProcAddress((HMODULE)_dlHandle, symbol);
+ void *func = (void*)GetProcAddress((HMODULE)_dlHandle, symbol);
if (!func)
warning("Failed loading symbol '%s' from plugin '%s'", symbol, _filename.c_str());
return func;