Commit 6acbec19 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dinput: Remove superfluous cast to self.

parent 567e35ce
......@@ -944,7 +944,7 @@ HRESULT WINAPI DECLSPEC_HOTPATCH DirectInput8Create( HINSTANCE hinst, DWORD vers
if (outer || FAILED(hr = IDirectInput8_Initialize( (IDirectInput8W *)unknown, hinst, version )))
{
IUnknown_Release( (IUnknown *)unknown );
IUnknown_Release( unknown );
*out = NULL;
return hr;
}
......
......@@ -84,7 +84,7 @@ static HRESULT WINAPI outer_QueryInterface( IUnknown *iface, REFIID iid, void **
if (IsEqualGUID( iid, &IID_IUnknown ))
{
*obj = (IUnknown *)iface;
*obj = iface;
return S_OK;
}
......
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