Gerald Pfeifer : oleaut32: Use proper unsigned type in EXPECT_I8(high, low) .

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 17 09:01:12 CDT 2015


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sun Aug  9 02:38:53 2015 +0200

oleaut32: Use proper unsigned type in EXPECT_I8(high,low).

---

 dlls/oleaut32/tests/vartest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index cf9e101..9b05fe7 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -1618,7 +1618,7 @@ static const char *szFailOk = "Call failed, hres = %08x\n";
 #define EXPECT_UI4(val) EXPECT_OK { EXPECT_TYPE(VT_UI4); \
   ok(V_UI4(&vOut) == val, "Expected ui4 = %d, got %d\n", (ULONG)val, V_UI4(&vOut)); }
 #define EXPECT_I8(high,low) EXPECT_OK { EXPECT_TYPE(VT_I8); \
-  ok(V_I8(&vOut) == ((((LONG64)(high))<<32)|(low)), "Expected i8 = %x%08x, got %x%08x\n", \
+  ok(V_I8(&vOut) == ((((ULONG64)(high))<<32)|(low)), "Expected i8 = %x%08x, got %x%08x\n", \
      (LONG)(high), (LONG)(low), (LONG)(V_I8(&vOut)>>32), (LONG)V_I8(&vOut) ); }
 #define EXPECT_UI8(val) EXPECT_OK { EXPECT_TYPE(VT_UI8); \
   ok(V_UI8(&vOut) == val, "Expected ui8 = 0x%x%08x, got 0x%x%08x\n", \




More information about the wine-cvs mailing list