Commit 2e408a6b authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

xactengine3_7: Remove superfluous cast to self.

parent e8e1f1e6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment