Fixed some warnings.

This commit is contained in:
Patrik Stridvall 2000-10-22 23:54:51 +00:00 committed by Alexandre Julliard
parent 7cc8abc10d
commit fde6d9a586
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}