summaryrefslogtreecommitdiff
path: root/Source/Core/Common/DynamicLibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/DynamicLibrary.cpp')
-rw-r--r--Source/Core/Common/DynamicLibrary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/DynamicLibrary.cpp b/Source/Core/Common/DynamicLibrary.cpp
index 7871198dda..73c25ce2a2 100644
--- a/Source/Core/Common/DynamicLibrary.cpp
+++ b/Source/Core/Common/DynamicLibrary.cpp
@@ -95,7 +95,7 @@ void DynamicLibrary::Close()
return;
#ifdef _WIN32
- FreeLibrary(reinterpret_cast<HMODULE>(m_handle));
+ FreeLibrary(static_cast<HMODULE>(m_handle));
#else
dlclose(m_handle);
#endif
@@ -105,7 +105,7 @@ void DynamicLibrary::Close()
void* DynamicLibrary::GetSymbolAddress(const char* name) const
{
#ifdef _WIN32
- return reinterpret_cast<void*>(GetProcAddress(reinterpret_cast<HMODULE>(m_handle), name));
+ return reinterpret_cast<void*>(GetProcAddress(static_cast<HMODULE>(m_handle), name));
#else
return reinterpret_cast<void*>(dlsym(m_handle, name));
#endif