diff --git a/src/plugin.cpp b/src/plugin.cpp index 404451fe..17c86a5d 100644 --- a/src/plugin.cpp +++ b/src/plugin.cpp @@ -47,7 +47,7 @@ static void* getSymbol(void* handle, const char* name) { return NULL; #if defined ARCH_WIN - return GetProcAddress((HMODULE) handle, name); + return (void*) GetProcAddress((HMODULE) handle, name); #else return dlsym(handle, name); #endif