Commit 694f2774 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 70c22221
...@@ -399,7 +399,7 @@ static void testGetIpNetTable(void) ...@@ -399,7 +399,7 @@ static void testGetIpNetTable(void)
for (i = 0; i < buf->dwNumEntries; i++) for (i = 0; i < buf->dwNumEntries; i++)
{ {
trace( "%u: idx %u type %u addr %s phys", 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++) for (j = 0; j < buf->table[i].dwPhysAddrLen; j++)
printf( " %02x", buf->table[i].bPhysAddr[j] ); printf( " %02x", buf->table[i].bPhysAddr[j] );
printf( "\n" ); printf( "\n" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment