Francois Gouget : ntdll/tests: Fix compilation on systems that don' t support nameless unions.
Alexandre Julliard
julliard at winehq.org
Mon Jan 17 10:59:43 CST 2011
Module: wine
Branch: master
Commit: 2df9129c52e52563f7528d026932e9aa2b3297a1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2df9129c52e52563f7528d026932e9aa2b3297a1
Author: Francois Gouget <fgouget at free.fr>
Date: Sat Jan 15 20:10:26 2011 +0100
ntdll/tests: Fix compilation on systems that don't support nameless unions.
---
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;
More information about the wine-cvs
mailing list