Andrew Talbot : d3d8: Remove unneeded casts.
Alexandre Julliard
julliard at winehq.org
Wed Jan 2 07:34:45 CST 2008
Module: wine
Branch: master
Commit: 70d82dfbd95a61366b9be5a8630243444267c99f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=70d82dfbd95a61366b9be5a8630243444267c99f
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Mon Dec 31 22:23:21 2007 +0000
d3d8: Remove unneeded casts.
---
dlls/d3d8/device.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c
index 4c04820..56ae145 100644
--- a/dlls/d3d8/device.c
+++ b/dlls/d3d8/device.c
@@ -1793,7 +1793,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetVertexShaderFunction(LPDIRECT3DDEV
}
shader = This->shader_handles[pVertexShader - (VS_HIGHESTFIXEDFXF + 1)];
- hr = IWineD3DVertexShader_GetFunction(shader->wineD3DVertexShader, pData, (UINT *)pSizeOfData);
+ hr = IWineD3DVertexShader_GetFunction(shader->wineD3DVertexShader, pData, pSizeOfData);
LeaveCriticalSection(&d3d8_cs);
return hr;
}
@@ -2000,7 +2000,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetPixelShaderFunction(LPDIRECT3DDEVI
}
shader = This->shader_handles[pPixelShader - (VS_HIGHESTFIXEDFXF + 1)];
- hr = IWineD3DPixelShader_GetFunction(shader->wineD3DPixelShader, pData, (UINT *)pSizeOfData);
+ hr = IWineD3DPixelShader_GetFunction(shader->wineD3DPixelShader, pData, pSizeOfData);
LeaveCriticalSection(&d3d8_cs);
return hr;
}
More information about the wine-cvs
mailing list