dxgi: Remove superfluous pointer casts.

This commit is contained in:
Michael Stefaniuc 2009-01-11 00:15:40 +01:00 committed by Alexandre Julliard
parent 79f49804a4
commit f93b29b04d
2 changed files with 2 additions and 2 deletions

View File

@ -315,7 +315,7 @@ HRESULT WINAPI DXGID3D10CreateDevice(HMODULE d3d10core, IDXGIFactory *factory, I
goto fail; goto fail;
} }
*device = (IUnknown *)dxgi_device; *device = dxgi_device;
return hr; return hr;

View File

@ -131,7 +131,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_factory_EnumAdapters(IWineDXGIFactory *ifa
return DXGI_ERROR_NOT_FOUND; return DXGI_ERROR_NOT_FOUND;
} }
*adapter = (IDXGIAdapter *)This->adapters[adapter_idx]; *adapter = This->adapters[adapter_idx];
IDXGIAdapter_AddRef(*adapter); IDXGIAdapter_AddRef(*adapter);
TRACE("Returning adapter %p\n", *adapter); TRACE("Returning adapter %p\n", *adapter);