[PATCH] xactengine3_7: Remove superfluous cast to self
Michael Stefaniuc
mstefani at winehq.org
Tue Sep 22 13:52:40 CDT 2020
Signed-off-by: Michael Stefaniuc <mstefani 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 742fe86cc95..84ed35d2c4d 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;
--
2.26.2
More information about the wine-devel
mailing list