ddraw: Remove two superfluous casts.
diff --git a/dlls/ddraw/main.c b/dlls/ddraw/main.c index 21cd272..4bd08c8 100644 --- a/dlls/ddraw/main.c +++ b/dlls/ddraw/main.c
@@ -267,7 +267,7 @@ 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))
diff --git a/dlls/ddraw/tests/ddrawmodes.c b/dlls/ddraw/tests/ddrawmodes.c index dcde97d..d21c3b4 100644 --- a/dlls/ddraw/tests/ddrawmodes.c +++ b/dlls/ddraw/tests/ddrawmodes.c
@@ -47,7 +47,7 @@ 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))