[PATCH] Fixed a couple of warnings for 64bit targets
Eric Pouech
eric.pouech at orange.fr
Thu Dec 8 14:29:58 CST 2011
A+
---
dlls/d3d8/tests/device.c | 2 +-
dlls/d3d9/tests/device.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index 6467858..d0d5445 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -893,7 +893,7 @@ static void test_cursor_pos(void)
flush_events();
ok(!expect_pos->x && !expect_pos->y, "Didn't receive MOUSEMOVE %u (%d, %d).\n",
- expect_pos - points, expect_pos->x, expect_pos->y);
+ (unsigned)expect_pos - points, expect_pos->x, expect_pos->y);
refcount = IDirect3DDevice8_Release(device);
ok(!refcount, "Device has %u references left.\n", refcount);
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index 9395880..b66da3c 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -3237,7 +3237,7 @@ static void test_cursor_pos(void)
flush_events();
ok(!expect_pos->x && !expect_pos->y, "Didn't receive MOUSEMOVE %u (%d, %d).\n",
- expect_pos - points, expect_pos->x, expect_pos->y);
+ (unsigned)(expect_pos - points), expect_pos->x, expect_pos->y);
refcount = IDirect3DDevice9_Release(device);
ok(!refcount, "Device has %u references left.\n", refcount);
More information about the wine-patches
mailing list