diff options
Diffstat (limited to 'Source/Core/DolphinNoGUI/PlatformWin32.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/PlatformWin32.cpp | 3 |
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); } |
