oleaut32: Remove unnecessary casts.

This commit is contained in:
Francois Gouget 2006-09-29 12:46:53 +02:00 committed by Alexandre Julliard
parent 6be7ba7546
commit 96f393178d
1 changed files with 2 additions and 2 deletions

View File

@ -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);