Michael Stefaniuc : dmsynth: Remove superfluous pointer casts.

Alexandre Julliard julliard at winehq.org
Tue Jan 27 09:08:09 CST 2009


Module: wine
Branch: master
Commit: 54353200591ee957731b5a0bbdc05eeb0a8074c7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=54353200591ee957731b5a0bbdc05eeb0a8074c7

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Jan 27 11:36:25 2009 +0100

dmsynth: Remove superfluous pointer casts.

---

 dlls/dmsynth/dmsynth_main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dmsynth/dmsynth_main.c b/dlls/dmsynth/dmsynth_main.c
index 6967e0c..607b865 100644
--- a/dlls/dmsynth/dmsynth_main.c
+++ b/dlls/dmsynth/dmsynth_main.c
@@ -167,11 +167,11 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
 {
     TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv);
     if (IsEqualCLSID (rclsid, &CLSID_DirectMusicSynth) && IsEqualIID (riid, &IID_IClassFactory)) {
-		*ppv = (LPVOID) &Synth_CF;
+                *ppv = &Synth_CF;
 		IClassFactory_AddRef((IClassFactory*)*ppv);
 		return S_OK;		
 	} else if (IsEqualCLSID (rclsid, &CLSID_DirectMusicSynth) && IsEqualIID (riid, &IID_IClassFactory)) {
-		*ppv = (LPVOID) &SynthSink_CF;
+                *ppv = &SynthSink_CF;
 		IClassFactory_AddRef((IClassFactory*)*ppv);
 		return S_OK;		
 	} 




More information about the wine-cvs mailing list