Francois Gouget : mshtml/tests: Fix compilation on systems that don' t support nameless unions.

Alexandre Julliard julliard at winehq.org
Mon Oct 7 14:17:11 CDT 2013


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sun Oct  6 00:22:39 2013 +0200

mshtml/tests: Fix compilation on systems that don't support nameless unions.

---

 dlls/mshtml/tests/htmldoc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index f19f04d..70da9ae 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -616,7 +616,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
         ok(bindinfo.dwBindVerb == BINDVERB_POST, "bindinfo.dwBindVerb=%d\n", bindinfo.dwBindVerb);
         ok(bindinfo.cbstgmedData == 8, "bindinfo.cbstgmedData=%d\n", bindinfo.cbstgmedData);
         ok(bindinfo.stgmedData.tymed == TYMED_HGLOBAL, "bindinfo.stgmedData.tymed=%d\n", bindinfo.stgmedData.tymed);
-        ok(!memcmp(bindinfo.stgmedData.hGlobal, "cmd=TEST", 8), "unexpected hGlobal\n");
+        ok(!memcmp(U(bindinfo.stgmedData).hGlobal, "cmd=TEST", 8), "unexpected hGlobal\n");
     }
     ok(bindinfo.szCustomVerb == 0, "bindinfo.szCustomVerb=%p\n", bindinfo.szCustomVerb);
     ok(bindinfo.dwOptions == 0x80000 ||




More information about the wine-cvs mailing list