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(COLOR_WINDOW + 1); wc.lpszMenuName = nullptr; wc.lpszClassName = WINDOW_CLASS_NAME; wc.hIconSm = LoadIcon(nullptr, IDI_ICON1);