Commit a697d99d authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

ddraw: Sign-compare warnings fix.

parent 9b81945a
......@@ -1842,7 +1842,7 @@ D3D7CB_CreateSurface(IUnknown *device,
{
ICOM_THIS_FROM(IDirectDrawImpl, IDirectDraw7, device);
IDirectDrawSurfaceImpl *surf = NULL;
int i = 0;
UINT i = 0;
DDSCAPS2 searchcaps = This->tex_root->surface_desc.ddsCaps;
TRACE("(%p) call back. surf=%p. Face %d level %d\n", device, This->tex_root, Face, level);
......
......@@ -1165,7 +1165,7 @@ IDirect3DDeviceImpl_7_EnumTextureFormats(IDirect3DDevice7 *iface,
ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice7, iface);
HRESULT hr;
WINED3DDISPLAYMODE mode;
int i;
unsigned int i;
WINED3DFORMAT FormatList[] = {
/* 32 bit */
......@@ -1328,7 +1328,7 @@ IDirect3DDeviceImpl_2_EnumTextureFormats(IDirect3DDevice2 *iface,
{
ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice2, iface);
HRESULT hr;
int i;
unsigned int i;
WINED3DDISPLAYMODE mode;
WINED3DFORMAT FormatList[] = {
......@@ -3982,7 +3982,7 @@ IDirect3DDeviceImpl_7_DrawPrimitiveStrided(IDirect3DDevice7 *iface,
{
ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice7, iface);
WineDirect3DVertexStridedData WineD3DStrided;
int i;
DWORD i;
UINT PrimitiveCount;
HRESULT hr;
......@@ -4160,7 +4160,7 @@ IDirect3DDeviceImpl_7_DrawIndexedPrimitiveStrided(IDirect3DDevice7 *iface,
{
ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice7, iface);
WineDirect3DVertexStridedData WineD3DStrided;
int i;
DWORD i;
UINT PrimitiveCount;
HRESULT hr;
......
......@@ -1138,7 +1138,7 @@ IDirect3DImpl_7_EnumZBufferFormats(IDirect3D7 *iface,
{
ICOM_THIS_FROM(IDirectDrawImpl, IDirect3D7, iface);
HRESULT hr;
int i;
unsigned int i;
WINED3DDISPLAYMODE d3ddm;
WINED3DDEVTYPE type;
......
......@@ -902,7 +902,7 @@ DWORD
get_flexible_vertex_size(DWORD d3dvtVertexType)
{
DWORD size = 0;
int i;
DWORD i;
if (d3dvtVertexType & D3DFVF_NORMAL) size += 3 * sizeof(D3DVALUE);
if (d3dvtVertexType & D3DFVF_DIFFUSE) size += sizeof(DWORD);
......
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