diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2026-02-21 18:27:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-21 18:27:50 +0100 |
| commit | 0d359e23da4e44b82083b5d5c71c5b74c0e0b521 (patch) | |
| tree | 7a5f3ce709e90a5ee54ae289f69177c387148c75 /Source/Core/Common/GL/GLInterface/WGL.cpp | |
| parent | fee2b0ee03bc50afa02bda99dd43e418ca59ea70 (diff) | |
| parent | ccc1c4a6015f965923bea78a818c6e70bbaced1e (diff) | |
Merge pull request #14212 from cscd98/cast-func
mingw: use reinterpret_cast for function→void* conversion to satisfy C++ standard
Diffstat (limited to 'Source/Core/Common/GL/GLInterface/WGL.cpp')
| -rw-r--r-- | Source/Core/Common/GL/GLInterface/WGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<void*>(func); } // Create rendering window. |
