Andrew Talbot : ddraw: Remove unneeded casts.
Alexandre Julliard
julliard at winehq.org
Thu Dec 6 08:26:46 CST 2007
Module: wine
Branch: master
Commit: 1f73a97a5a4377bfe1cb8b1417f138cffec348d7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1f73a97a5a4377bfe1cb8b1417f138cffec348d7
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Wed Dec 5 21:28:34 2007 +0000
ddraw: Remove unneeded casts.
---
dlls/ddraw/ddraw.c | 2 +-
dlls/ddraw/device.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c
index 7785624..5e2d564 100644
--- a/dlls/ddraw/ddraw.c
+++ b/dlls/ddraw/ddraw.c
@@ -1725,7 +1725,7 @@ ULONG WINAPI D3D7CB_DestroyDepthStencilSurface(IWineD3DSurface *pSurface) {
IUnknown* surfaceParent;
TRACE("(%p) call back\n", pSurface);
- IWineD3DSurface_GetParent(pSurface, (IUnknown **) &surfaceParent);
+ IWineD3DSurface_GetParent(pSurface, &surfaceParent);
IUnknown_Release(surfaceParent);
return IUnknown_Release(surfaceParent);
}
diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c
index 3091017..53ef2f1 100644
--- a/dlls/ddraw/device.c
+++ b/dlls/ddraw/device.c
@@ -4179,7 +4179,7 @@ IDirect3DDeviceImpl_7_GetTexture(IDirect3DDevice7 *iface,
}
EnterCriticalSection(&ddraw_cs);
- hr = IWineD3DDevice_GetTexture(This->wineD3DDevice, Stage, (IWineD3DBaseTexture **) &Surf);
+ hr = IWineD3DDevice_GetTexture(This->wineD3DDevice, Stage, &Surf);
if( (hr != D3D_OK) || (!Surf) )
{
*Texture = NULL;
More information about the wine-cvs
mailing list