ddraw: Remove two superfluous casts.

This commit is contained in:
Michael Stefaniuc 2008-12-05 07:51:16 +01:00 committed by Alexandre Julliard
parent fa1d049847
commit 176c8eb333
2 changed files with 2 additions and 2 deletions

View file

@ -267,7 +267,7 @@ DDRAW_Create(const GUID *guid,
This->wnd_class.hInstance = GetModuleHandleA(0);
This->wnd_class.hIcon = 0;
This->wnd_class.hCursor = 0;
This->wnd_class.hbrBackground = (HBRUSH) GetStockObject(BLACK_BRUSH);
This->wnd_class.hbrBackground = GetStockObject(BLACK_BRUSH);
This->wnd_class.lpszMenuName = NULL;
This->wnd_class.lpszClassName = This->classname;
if(!RegisterClassA(&This->wnd_class))

View file

@ -47,7 +47,7 @@ static void createwindow(void)
wc.hInstance = GetModuleHandleA(0);
wc.hIcon = LoadIconA(wc.hInstance, IDI_APPLICATION);
wc.hCursor = LoadCursorA(NULL, IDC_ARROW);
wc.hbrBackground = (HBRUSH) GetStockObject(BLACK_BRUSH);
wc.hbrBackground = GetStockObject(BLACK_BRUSH);
wc.lpszMenuName = NULL;
wc.lpszClassName = "TestWindowClass";
if(!RegisterClassA(&wc))