diff --git a/Source/Core/Common/GL/GLInterface/WGL.cpp b/Source/Core/Common/GL/GLInterface/WGL.cpp index c85f24a7b2..a85a27a79d 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.