iphlpapi/tests: Fix compilation on systems that don't support nameless unions.
Francois Gouget
fgouget at free.fr
Tue Dec 27 05:27:17 CST 2011
---
dlls/iphlpapi/tests/iphlpapi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c
index 0b274ff..0cbfb31 100644
--- a/dlls/iphlpapi/tests/iphlpapi.c
+++ b/dlls/iphlpapi/tests/iphlpapi.c
@@ -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" );
--
1.7.7.3
More information about the wine-patches
mailing list