d3d9/tests: sign compare fixes

Austin English austinenglish at gmail.com
Thu May 7 13:44:31 CDT 2009


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index 2f5bbc8..7b0f818 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -745,7 +745,7 @@ static void test_reset(void)
     modes = HeapAlloc(GetProcessHeap(), 0, sizeof(*modes) * adapter_mode_count);
     for(i = 0; i < adapter_mode_count; ++i)
     {
-        int j;
+        uint j;
         ZeroMemory( &d3ddm2, sizeof(d3ddm2) );
         hr = IDirect3D9_EnumAdapterModes(pD3d, D3DADAPTER_DEFAULT, d3ddm.Format, i, &d3ddm2);
         ok(hr == D3D_OK, "IDirect3D9_EnumAdapterModes returned %#x\n", hr);


More information about the wine-patches mailing list