mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-25 03:21:36 +02:00
DolphinNoGUI: Replace C-style cast with reinterpret_cast
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user