Rob Shearman : ole32: Fix a test in the WdtpInterfacePointer tests.

Alexandre Julliard julliard at winehq.org
Thu Nov 29 10:31:21 CST 2007


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Wed Nov 28 17:45:41 2007 +0000

ole32: Fix a test in the WdtpInterfacePointer tests.

---

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

diff --git a/dlls/ole32/tests/usrmarshal.c b/dlls/ole32/tests/usrmarshal.c
index 08a3119..d6fd7ee 100644
--- a/dlls/ole32/tests/usrmarshal.c
+++ b/dlls/ole32/tests/usrmarshal.c
@@ -455,8 +455,8 @@ static void test_marshal_WdtpInterfacePointer(void)
         wireip += sizeof(DWORD);
         ok(*(DWORD *)wireip == 0x1, "wireip + 0xc should be 0x1 instead of 0x%08x\n", *(DWORD *)wireip);
         wireip += sizeof(DWORD);
-        iid = (const IID *)buffer;
-        ok(!IsEqualIID(iid, &IID_IUnknown),
+        iid = (const IID *)wireip;
+        ok(IsEqualIID(iid, &IID_IUnknown),
            "wireip + 0x10 should be IID_IUnknown instead of {%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}\n",
            iid->Data1, iid->Data2, iid->Data3,
            iid->Data4[0], iid->Data4[1], iid->Data4[2], iid->Data4[3],




More information about the wine-cvs mailing list