Commit b3382916 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dmime: Remove superfluous casts to self.

parent e2838830
......@@ -1545,7 +1545,7 @@ static HRESULT WINAPI performance_InitAudio(IDirectMusicPerformance8 *iface, IDi
IDirectSound_AddRef(*dsound);
}
if (dmusic && !*dmusic) {
*dmusic = (IDirectMusic *)This->dmusic;
*dmusic = This->dmusic;
IDirectMusic_AddRef(*dmusic);
}
......@@ -2117,7 +2117,7 @@ static HRESULT WINAPI performance_tool_ProcessPMsg(IDirectMusicTool *iface,
msg->dwFlags &= ~DMUS_PMSGF_TOOL_IMMEDIATE;
msg->dwFlags |= DMUS_PMSGF_TOOL_ATTIME;
if (FAILED(hr = IDirectMusicPerformance8_SendPMsg(performance, (DMUS_PMSG *)msg)))
if (FAILED(hr = IDirectMusicPerformance8_SendPMsg(performance, msg)))
{
ERR("Failed to send notification message, hr %#lx\n", hr);
return DMUS_S_FREE;
......
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