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

This commit is contained in:
Francois Gouget 2011-12-27 12:27:17 +01:00 committed by Alexandre Julliard
parent 70c2222180
commit 694f27743f
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ static void testGetIpNetTable(void)
for (i = 0; i < buf->dwNumEntries; i++)
{
trace( "%u: idx %u type %u addr %s phys",
i, buf->table[i].dwIndex, buf->table[i].dwType, ntoa( buf->table[i].dwAddr ));
i, buf->table[i].dwIndex, U(buf->table[i]).dwType, ntoa( buf->table[i].dwAddr ));
for (j = 0; j < buf->table[i].dwPhysAddrLen; j++)
printf( " %02x", buf->table[i].bPhysAddr[j] );
printf( "\n" );