ddraw: Remove two superfluous casts.
Michael Stefaniuc
mstefani at redhat.de
Fri Dec 5 00:51:16 CST 2008
---
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))
--
1.6.0.rc1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081205/ec444285/attachment.pgp
More information about the wine-patches
mailing list