dsound: Remove unneeded casts of zero.
Francois Gouget
fgouget at free.fr
Mon Dec 8 02:23:12 CST 2008
---
dlls/dsound/tests/propset.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dsound/tests/propset.c b/dlls/dsound/tests/propset.c
index 88ea3dc..fba6e06 100644
--- a/dlls/dsound/tests/propset.c
+++ b/dlls/dsound/tests/propset.c
@@ -188,7 +188,7 @@ static void propset_private_tests(void)
/* try direct sound first */
/* DSOUND: Error: Invalid interface buffer */
- rc = (pDllGetClassObject)(&CLSID_DirectSound, &IID_IClassFactory, (void **)0);
+ rc = (pDllGetClassObject)(&CLSID_DirectSound, &IID_IClassFactory, NULL);
ok(rc==DSERR_INVALIDPARAM,"DllGetClassObject(CLSID_DirectSound, "
"IID_IClassFactory) should have returned DSERR_INVALIDPARAM, "
"returned: %08x\n",rc);
@@ -211,7 +211,7 @@ static void propset_private_tests(void)
/* direct sound doesn't have an IKsPropertySet */
/* DSOUND: Error: Invalid interface buffer */
rc = IClassFactory_CreateInstance(pcf, NULL, &IID_IKsPropertySet,
- (void **)0);
+ NULL);
ok(rc==DSERR_INVALIDPARAM, "CreateInstance(IID_IKsPropertySet) should have "
"returned DSERR_INVALIDPARAM, returned: %08x\n",rc);
--
1.5.6.5
More information about the wine-patches
mailing list