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

This commit is contained in:
Francois Gouget 2011-01-15 20:10:26 +01:00 committed by Alexandre Julliard
parent 4b317fde2a
commit 2df9129c52
1 changed files with 2 additions and 2 deletions

View File

@ -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;