Commit fde6d9a5 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed some warnings.

parent 7cc8abc1
......@@ -493,8 +493,8 @@ HRESULT WINAPI DirectInputCreateEx(
This = (IDirectInputAImpl*)HeapAlloc(GetProcessHeap(),0,sizeof(IDirectInputAImpl));
This->ref = 1;
ICOM_VTBL(This) = &ddiavt;
res=IDirectInputA_QueryInterface(This,riid,ppDI);
IDirectInputA_Release(This); /* throw one reference away */
res=IDirectInputA_QueryInterface((IUnknown *)This,riid,ppDI);
IDirectInputA_Release((IUnknown *)This); /* throw one reference away */
return res;
}
......
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