From 96f393178d454712b5c06622b87bcb370fdc48ac Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 29 Sep 2006 12:46:53 +0200 Subject: [PATCH] oleaut32: Remove unnecessary casts. --- dlls/oleaut32/tests/olefont.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/tests/olefont.c b/dlls/oleaut32/tests/olefont.c index 1192dc9c537..51e4dcb2aa3 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);