mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-17 03:14:44 +01:00
Compilation fix (mingw)
This commit is contained in:
1 parent
3baf79f929
commit
19a698682b
5 files changed
+13
-7
No files matched your search
@@ -61,7 +61,7 @@ namespace utils
|
||||
void* get_proc_address(const char* lib, const char* name)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return GetProcAddress(GetModuleHandleA(lib), name);
|
||||
return reinterpret_cast<void*>(GetProcAddress(GetModuleHandleA(lib), name));
|
||||
#else
|
||||
return dlsym(dlopen(lib, RTLD_NOLOAD), name);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user