diff --git a/Source/Core/Common/GL/GLInterface/WGL.cpp b/Source/Core/Common/GL/GLInterface/WGL.cpp index 6a8bbfdb2e..8c08740896 100644 --- a/Source/Core/Common/GL/GLInterface/WGL.cpp +++ b/Source/Core/Common/GL/GLInterface/WGL.cpp @@ -223,7 +223,7 @@ void* GLContextWGL::GetFuncAddress(const std::string& name) func = GetProcAddress(opengl_module, name.c_str()); } - return func; + return reinterpret_cast(func); } // Create rendering window.