Gerald Pfeifer : d3d9: Fix the type of three loop variables.

Alexandre Julliard julliard at winehq.org
Mon Feb 4 08:42:47 CST 2008


Module: wine
Branch: master
Commit: 450c634ab8c8ca859e42ef576e1f5d9760c85577
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=450c634ab8c8ca859e42ef576e1f5d9760c85577

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri Jan 25 13:26:40 2008 +0100

d3d9: Fix the type of three loop variables.

---

 dlls/d3d9/tests/visual.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index d20d337..e3c22d3 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -557,7 +557,7 @@ static void test_mova(IDirect3DDevice9 *device)
     IDirect3DVertexShader9 *mova_shader = NULL;
     IDirect3DVertexShader9 *mov_shader = NULL;
     HRESULT hr;
-    int i, j;
+    UINT i, j;
 
     hr = IDirect3DDevice9_CreateVertexShader(device, mova_test, &mova_shader);
     ok(SUCCEEDED(hr), "CreateVertexShader failed (%08x)\n", hr);
@@ -862,7 +862,8 @@ static void test_cube_wrap(IDirect3DDevice9 *device)
     IDirect3DSurface9 *surface = NULL;
     D3DLOCKED_RECT locked_rect;
     HRESULT hr;
-    INT x, y, face;
+    UINT x;
+    INT y, face;
 
     hr = IDirect3DDevice9_CreateVertexDeclaration(device, decl_elements, &vertex_declaration);
     ok(SUCCEEDED(hr), "CreateVertexDeclaration failed (0x%08x)\n", hr);




More information about the wine-cvs mailing list