Module: wine Branch: master Commit: 10e738f23687526767dcd3ba4c95452c9ed36321 URL: http://source.winehq.org/git/wine.git/?a=commit;h=10e738f23687526767dcd3ba4c...
Author: Francois Gouget fgouget@free.fr Date: Tue Nov 20 13:48:15 2007 +0100
ntdll/tests: Fix compilation on systems that don't support nameless unions.
---
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 );