diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index e4780e9c379..28aa06b0001 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -802,7 +802,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
ok(bindinfo.dwBindVerb == BINDVERB_POST, "bindinfo.dwBindVerb=%ld\n", bindinfo.dwBindVerb);
ok(bindinfo.cbstgmedData == 8, "bindinfo.cbstgmedData=%ld\n", bindinfo.cbstgmedData);
ok(bindinfo.stgmedData.tymed == TYMED_HGLOBAL, "bindinfo.stgmedData.tymed=%ld\n", bindinfo.stgmedData.tymed);
- ok(!memcmp(U(bindinfo.stgmedData).hGlobal, "cmd=TEST", 8), "unexpected hGlobal\n");
+ ok(!memcmp(bindinfo.stgmedData.hGlobal, "cmd=TEST", 8), "unexpected hGlobal\n");
}
ok(bindinfo.szCustomVerb == 0, "bindinfo.szCustomVerb=%p\n", bindinfo.szCustomVerb);
if(is_mhtml)
@@ -1632,7 +1632,7 @@ static void continue_binding(IBindStatusCallback *callback)
SET_EXPECT(Read);
stgmedium.tymed = TYMED_ISTREAM;
- U(stgmedium).pstm = &Stream;
+ stgmedium.pstm = &Stream;
stgmedium.pUnkForRelease = (IUnknown*)&Moniker;
hres = IBindStatusCallback_OnDataAvailable(callback,
BSCF_FIRSTDATANOTIFICATION|BSCF_LASTDATANOTIFICATION,
diff --git a/dlls/mshtml/tests/script.c b/dlls/mshtml/tests/script.c
index 2dc68f1456e..bb6e0695c5b 100644
--- a/dlls/mshtml/tests/script.c
+++ b/dlls/mshtml/tests/script.c
@@ -3864,7 +3864,7 @@ static void stream_write(const WCHAR *name, const WCHAR *data)
hres = IStream_Write(protocol_handler->stream, data, lstrlenW(data)*sizeof(WCHAR), NULL);
ok(hres == S_OK, "Write failed: %08lx\n", hres);
- U(large_zero).QuadPart = 0;
+ large_zero.QuadPart = 0;
hres = IStream_Seek(protocol_handler->stream, large_zero, STREAM_SEEK_SET, NULL);
ok(hres == S_OK, "Seek failed: %08lx\n", hres);
@@ -4042,10 +4042,10 @@ static HRESULT WINAPI ProtocolEx_StartEx(IInternetProtocolEx *iface, IUri *uri,
switch(This->bind_info.stgmedData.tymed) {
case TYMED_HGLOBAL:
This->size = This->bind_info.cbstgmedData;
- This->data = U(This->bind_info.stgmedData).hGlobal;
+ This->data = This->bind_info.stgmedData.hGlobal;
break;
case TYMED_ISTREAM:
- This->stream = U(This->bind_info.stgmedData).pstm;
+ This->stream = This->bind_info.stgmedData.pstm;
IStream_AddRef(This->stream);
break;
default: