Eric Pouech : d3d: Fixed a couple of warnings for 64bit targets.
Alexandre Julliard
julliard at winehq.org
Mon Dec 12 12:25:53 CST 2011
Module: wine
Branch: master
Commit: 1d3952ed9f6885784b4f97b11a01a68dcbf9d205
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1d3952ed9f6885784b4f97b11a01a68dcbf9d205
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sun Dec 11 15:05:08 2011 +0100
d3d: Fixed a couple of warnings for 64bit targets.
---
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..bf4e1ea 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 abd3685..e3767bb 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-cvs
mailing list