wineoss.drv: Remove useless cast to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ca50117418
commit
78aaffb55d
|
@ -605,8 +605,7 @@ HRESULT WINAPI AUDDRV_GetAudioEndpoint(GUID *guid, IMMDevice *dev,
|
|||
if(!This)
|
||||
return E_OUTOFMEMORY;
|
||||
|
||||
hr = CoCreateFreeThreadedMarshaler((IUnknown *)&This->IAudioClient_iface,
|
||||
(IUnknown **)&This->pUnkFTMarshal);
|
||||
hr = CoCreateFreeThreadedMarshaler((IUnknown *)&This->IAudioClient_iface, &This->pUnkFTMarshal);
|
||||
if (FAILED(hr)) {
|
||||
HeapFree(GetProcessHeap(), 0, This);
|
||||
return hr;
|
||||
|
|
Loading…
Reference in New Issue