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/DolphinNoGUI/PlatformWin32.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Core/DolphinNoGUI/PlatformWin32.cpp') diff --git a/Source/Core/DolphinNoGUI/PlatformWin32.cpp b/Source/Core/DolphinNoGUI/PlatformWin32.cpp index 78a9cd783d..c78c563d5d 100644 --- a/Source/Core/DolphinNoGUI/PlatformWin32.cpp +++ b/Source/Core/DolphinNoGUI/PlatformWin32.cpp @@ -175,8 +175,7 @@ LRESULT PlatformWin32::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam { case WM_NCCREATE: { - platform = - reinterpret_cast(reinterpret_cast(lParam)->lpCreateParams); + platform = static_cast(reinterpret_cast(lParam)->lpCreateParams); SetWindowLongPtr(hwnd, GWLP_USERDATA, reinterpret_cast(platform)); return DefWindowProc(hwnd, msg, wParam, lParam); } -- cgit v1.2.3