Commit 387289e5 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 83065184
......@@ -675,7 +675,7 @@ static void test_SHCreateStreamOnFileEx_CopyTo(void)
ok(SUCCEEDED(ret), "SHCreateStreamOnFileEx failed with ret=0x%08x\n", ret);
written.QuadPart = 0;
ret = IStream_Write(src, srcContents, sizeof(srcContents), &written.LowPart);
ret = IStream_Write(src, srcContents, sizeof(srcContents), &U(written).LowPart);
ok(SUCCEEDED(ret), "ISequentialStream_Write failed with ret=0x%08x\n", ret);
distance.QuadPart = 0;
......@@ -691,8 +691,8 @@ static void test_SHCreateStreamOnFileEx_CopyTo(void)
ret = IStream_CopyTo(src, dst, count, &read, &written);
ok(SUCCEEDED(ret), "CopyTo failed with ret=0x%08x\n", ret);
ok(read.QuadPart == 1, "read does not match size: %d != 1\n", read.LowPart);
ok(written.QuadPart == 1, "written does not match size: %d != 1\n", written.LowPart);
ok(read.QuadPart == 1, "read does not match size: %d != 1\n", U(read).LowPart);
ok(written.QuadPart == 1, "written does not match size: %d != 1\n", U(written).LowPart);
IStream_Release(dst);
IStream_Release(src);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment