From 6d44afc7dd129603401ce1a7ee4a059be1fbdda4 Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Wed, 24 Jul 2024 06:24:51 +0200 Subject: Replace 'reinterpret_cast' with 'static_cast' --- Source/Core/Common/GL/GLInterface/WGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Common/GL/GLInterface/WGL.cpp') diff --git a/Source/Core/Common/GL/GLInterface/WGL.cpp b/Source/Core/Common/GL/GLInterface/WGL.cpp index 286859daf6..6a8bbfdb2e 100644 --- a/Source/Core/Common/GL/GLInterface/WGL.cpp +++ b/Source/Core/Common/GL/GLInterface/WGL.cpp @@ -234,7 +234,7 @@ bool GLContextWGL::Initialize(const WindowSystemInfo& wsi, bool stereo, bool cor return false; RECT window_rect = {}; - m_window_handle = reinterpret_cast(wsi.render_surface); + m_window_handle = static_cast(wsi.render_surface); if (!GetClientRect(m_window_handle, &window_rect)) return false; -- cgit v1.2.3