Alexandre Julliard : oleaut32/tests: Fix some pointer sizes in typelib tests for 64-bit.

Alexandre Julliard julliard at winehq.org
Thu May 21 09:35:51 CDT 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed May 20 20:19:59 2009 +0200

oleaut32/tests: Fix some pointer sizes in typelib tests for 64-bit.

---

 dlls/oleaut32/tests/typelib.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/oleaut32/tests/typelib.c b/dlls/oleaut32/tests/typelib.c
index 314a43f..1c1cfef 100644
--- a/dlls/oleaut32/tests/typelib.c
+++ b/dlls/oleaut32/tests/typelib.c
@@ -33,8 +33,8 @@
 #include "tmarshal.h"
 
 #define expect_eq(expr, value, type, format) { type _ret = (expr); ok((value) == _ret, #expr " expected " format " got " format "\n", value, _ret); }
-#define expect_int(expr, value) expect_eq(expr, (int)value, int, "%d")
-#define expect_hex(expr, value) expect_eq(expr, (int)value, int, "0x%x")
+#define expect_int(expr, value) expect_eq(expr, (int)(value), int, "%d")
+#define expect_hex(expr, value) expect_eq(expr, (int)(value), int, "0x%x")
 #define expect_null(expr) expect_eq(expr, NULL, const void *, "%p")
 
 #define expect_wstr_acpval(expr, value) \




More information about the wine-cvs mailing list