Module: wine Branch: master Commit: 96f393178d454712b5c06622b87bcb370fdc48ac URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=96f393178d454712b5c06622...
Author: Francois Gouget fgouget@free.fr Date: Fri Sep 29 12:46:53 2006 +0200
oleaut32: Remove unnecessary casts.
---
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);