Michael Stefaniuc : ddraw: Remove two superfluous casts.
Alexandre Julliard
julliard at winehq.org
Fri Dec 5 07:42:57 CST 2008
Module: wine
Branch: master
Commit: 176c8eb33395a8d8683b831946e03f01f9885cc3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=176c8eb33395a8d8683b831946e03f01f9885cc3
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Fri Dec 5 07:51:16 2008 +0100
ddraw: Remove two superfluous casts.
---
dlls/ddraw/main.c | 2 +-
dlls/ddraw/tests/ddrawmodes.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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 @@ 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))
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 @@ 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))
More information about the wine-cvs
mailing list