gdiplus/tests: Remove unneeded casts.
Francois Gouget
fgouget at free.fr
Mon Sep 1 10:02:32 CDT 2008
---
dlls/gdiplus/tests/graphics.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c
index b0858e1..d83f3b7 100644
--- a/dlls/gdiplus/tests/graphics.c
+++ b/dlls/gdiplus/tests/graphics.c
@@ -540,9 +540,9 @@ static void test_Get_Release_DC(void)
status = GdipGetDC(NULL, &retdc);
expect(InvalidParameter, status);
- status = GdipReleaseDC(NULL, (HDC)0);
+ status = GdipReleaseDC(NULL, NULL);
expect(InvalidParameter, status);
- status = GdipReleaseDC(graphics, (HDC)0);
+ status = GdipReleaseDC(graphics, NULL);
expect(InvalidParameter, status);
status = GdipReleaseDC(NULL, (HDC)0xdeadbeef);
expect(InvalidParameter, status);
--
1.5.6.3
More information about the wine-patches
mailing list