diff options
-rw-r--r-- | base/plugins.cpp | 2 |
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; |