Remove unnecessary casts.
Francois Gouget
fgouget at free.fr
Fri Sep 29 05:46:53 CDT 2006
---
dlls/oleaut32/tests/olefont.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/tests/olefont.c b/dlls/oleaut32/tests/olefont.c
index 1192dc9..51e4dcb 100644
--- a/dlls/oleaut32/tests/olefont.c
+++ b/dlls/oleaut32/tests/olefont.c
@@ -633,7 +633,7 @@ static void test_ReleaseHfont(void)
IFont_get_hFont(ifnt2,&hfnt2);
/* Try invalid HFONT */
- hres = IFont_ReleaseHfont(ifnt1,(HFONT)0);
+ hres = IFont_ReleaseHfont(ifnt1,NULL);
ok(hres == E_INVALIDARG,
"IFont_ReleaseHfont: (Bad HFONT) Expected E_INVALIDARG but got 0x%08lx\n",
hres);
@@ -708,7 +708,7 @@ static void test_AddRefHfont(void)
IFont_get_hFont(ifnt2,&hfnt2);
/* Try invalid HFONT */
- hres = IFont_AddRefHfont(ifnt1,(HFONT)0);
+ hres = IFont_AddRefHfont(ifnt1,NULL);
ok(hres == E_INVALIDARG,
"IFont_AddRefHfont: (Bad HFONT) Expected E_INVALIDARG but got 0x%08lx\n",
hres);
--
1.4.1.1
More information about the wine-patches
mailing list