summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/PlatformWin32.cpp
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2024-07-24 06:24:51 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2024-11-08 07:26:47 +0100
commit6d44afc7dd129603401ce1a7ee4a059be1fbdda4 (patch)
tree40118d5b05c1b88e035877eb0b4824fb49dcfe1b /Source/Core/DolphinNoGUI/PlatformWin32.cpp
parent53ede795a2a7406872f0f5c872c7f67bd22f65e4 (diff)
Replace 'reinterpret_cast' with 'static_cast'
Diffstat (limited to 'Source/Core/DolphinNoGUI/PlatformWin32.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/PlatformWin32.cpp3
1 files changed, 1 insertions, 2 deletions
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<PlatformWin32*>(reinterpret_cast<CREATESTRUCT*>(lParam)->lpCreateParams);
+ platform = static_cast<PlatformWin32*>(reinterpret_cast<CREATESTRUCT*>(lParam)->lpCreateParams);
SetWindowLongPtr(hwnd, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(platform));
return DefWindowProc(hwnd, msg, wParam, lParam);
}