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

Alexandre Julliard julliard at winehq.org
Tue Dec 27 11:27:56 CST 2011


Module: wine
Branch: master
Commit: 694f27743ff7a32b027d983b08a1c4f182168e59
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=694f27743ff7a32b027d983b08a1c4f182168e59

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Dec 27 12:27:17 2011 +0100

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

---

 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" );




More information about the wine-cvs mailing list