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

Francois Gouget fgouget at free.fr
Sat Jan 15 13:10:26 CST 2011


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

diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c
index e8f23e0..aa599ed 100644
--- a/dlls/ntdll/tests/file.c
+++ b/dlls/ntdll/tests/file.c
@@ -837,7 +837,7 @@ static void append_file_test(void)
         return;
     }
 
-    iosb.Status = STATUS_PENDING;
+    U(iosb).Status = STATUS_PENDING;
     iosb.Information = 0;
 
     status = NtWriteFile(handle, NULL, NULL, NULL, &iosb,
@@ -846,7 +846,7 @@ static void append_file_test(void)
     if (status == STATUS_PENDING)
     {
         WaitForSingleObject( handle, INFINITE );
-        status = iosb.Status;
+        status = U(iosb).Status;
     }
     written = iosb.Information;
 
-- 
1.7.2.3



More information about the wine-patches mailing list