Module: wine Branch: master Commit: 34f1e0f0483030c156e802c39859a2a4ef766aa5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=34f1e0f0483030c156e802c398...
Author: Francois Gouget fgouget@free.fr Date: Mon Dec 8 09:23:12 2008 +0100
dsound: Remove unneeded casts of zero.
---
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);