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

Francois Gouget fgouget at free.fr
Tue Nov 20 06:48:15 CST 2007


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

diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c
index 8ea454c..846448e 100644
--- a/dlls/ntdll/tests/file.c
+++ b/dlls/ntdll/tests/file.c
@@ -512,7 +512,7 @@ static void test_iocp_fileio(HANDLE h)
 
         NTSTATUS res = pNtSetInformationFile( hPipeSrv, &iosb, &fci, sizeof(fci), FileCompletionInformation );
         ok( res == STATUS_SUCCESS, "NtSetInformationFile failed: %x\n", res );
-        ok( iosb.Status == STATUS_SUCCESS, "iosb.Status invalid: %x\n", iosb.Status );
+        ok( U(iosb).Status == STATUS_SUCCESS, "iosb.Status invalid: %x\n", U(iosb).Status );
 
         count = get_pending_msgs(h);
         ok( !count, "Unexpected msg count: %ld\n", count );
-- 
1.5.3.4




More information about the wine-patches mailing list