[PATCH 3/3] dlls/oleaut32/tests: ensure (re)definition of EXPECTRES for all integer types (vartype.c)

Eric Pouech eric.pouech at gmail.com
Sat Mar 12 02:36:44 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 dlls/oleaut32/tests/vartype.c |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index 46897085d05..c368c5129bb 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -648,6 +648,8 @@ static void test_VarI1ChangeTypeEx(void)
 
 #undef CONV_TYPE
 #define CONV_TYPE BYTE
+#undef EXPECTRES
+#define EXPECTRES(res, x) _EXPECTRES(res, x, "%u")
 
 static void test_VarUI1FromI1(void)
 {
@@ -942,6 +944,8 @@ static void test_VarUI1ChangeTypeEx(void)
 
 #undef CONV_TYPE
 #define CONV_TYPE SHORT
+#undef EXPECTRES
+#define EXPECTRES(res, x) _EXPECTRES(res, x, "%d")
 
 static void test_VarI2FromI1(void)
 {
@@ -1178,6 +1182,8 @@ static void test_VarI2ChangeTypeEx(void)
 
 #undef CONV_TYPE
 #define CONV_TYPE USHORT
+#undef EXPECTRES
+#define EXPECTRES(res, x) _EXPECTRES(res, x, "%u")
 
 static void test_VarUI2FromI1(void)
 {
@@ -1411,6 +1417,8 @@ static void test_VarUI2ChangeTypeEx(void)
 
 #undef CONV_TYPE
 #define CONV_TYPE LONG
+#undef EXPECTRES
+#define EXPECTRES(res, x) _EXPECTRES(res, x, "%d")
 
 static void test_VarI4FromI1(void)
 {




More information about the wine-devel mailing list