diff options
| author | Dr. Dystopia <jonis9898@hotmail.com> | 2025-04-20 18:08:43 +0200 |
|---|---|---|
| committer | Dr. Dystopia <jonis9898@hotmail.com> | 2025-06-04 21:49:01 +0200 |
| commit | f04f659710bf50cd71e0516d67601d9019ed6400 (patch) | |
| tree | ae3200d268e6190b32a5fc01800b718f4a629b9f /Source | |
| parent | ec1d6593637ae7ae41c49cb66469df387a7ab150 (diff) | |
DolphinNoGUI: Replace C-style cast with `reinterpret_cast`
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinNoGUI/PlatformWin32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/PlatformWin32.cpp b/Source/Core/DolphinNoGUI/PlatformWin32.cpp index 5ba9afb5e1..28244829cc 100644 --- a/Source/Core/DolphinNoGUI/PlatformWin32.cpp +++ b/Source/Core/DolphinNoGUI/PlatformWin32.cpp @@ -63,7 +63,7 @@ bool PlatformWin32::RegisterRenderWindowClass() wc.hInstance = GetModuleHandle(nullptr); wc.hIcon = LoadIcon(nullptr, IDI_ICON1); wc.hCursor = LoadCursor(nullptr, IDC_ARROW); - wc.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); + wc.hbrBackground = reinterpret_cast<HBRUSH>(COLOR_WINDOW + 1); wc.lpszMenuName = nullptr; wc.lpszClassName = WINDOW_CLASS_NAME; wc.hIconSm = LoadIcon(nullptr, IDI_ICON1); |
