Michael Stefaniuc : xactengine3_7: Remove superfluous cast to self.
Alexandre Julliard
julliard at winehq.org
Tue Sep 22 15:46:42 CDT 2020
Module: wine
Branch: master
Commit: 2e408a6be5ebab5db76bc9fe803e5a566007c45a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2e408a6be5ebab5db76bc9fe803e5a566007c45a
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Tue Sep 22 20:52:40 2020 +0200
xactengine3_7: Remove superfluous cast to self.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/xactengine3_7/xact_dll.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/xactengine3_7/xact_dll.c b/dlls/xactengine3_7/xact_dll.c
index 742fe86cc9..84ed35d2c4 100644
--- a/dlls/xactengine3_7/xact_dll.c
+++ b/dlls/xactengine3_7/xact_dll.c
@@ -259,7 +259,7 @@ static HRESULT WINAPI IXACT3SoundBankImpl_Prepare(IXACT3SoundBank *iface,
cue->IXACT3Cue_iface.lpVtbl = &XACT3Cue_Vtbl;
cue->fact_cue = fcue;
- *ppCue = (IXACT3Cue*)&cue->IXACT3Cue_iface;
+ *ppCue = &cue->IXACT3Cue_iface;
TRACE("Created Cue: %p\n", cue);
@@ -301,7 +301,7 @@ static HRESULT WINAPI IXACT3SoundBankImpl_Play(IXACT3SoundBank *iface,
cue->IXACT3Cue_iface.lpVtbl = &XACT3Cue_Vtbl;
cue->fact_cue = fcue;
- *ppCue = (IXACT3Cue*)&cue->IXACT3Cue_iface;
+ *ppCue = &cue->IXACT3Cue_iface;
}
return hr;
More information about the wine-cvs
mailing list