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

Francois Gouget fgouget at free.fr
Sun Apr 29 04:34:20 CDT 2012


---
 dlls/iphlpapi/tests/iphlpapi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c
index 7ab5cff..002f30f 100644
--- a/dlls/iphlpapi/tests/iphlpapi.c
+++ b/dlls/iphlpapi/tests/iphlpapi.c
@@ -605,7 +605,7 @@ static void testSetTcpEntry(void)
     ret = pSetTcpEntry(&row);
     todo_wine ok( ret == ERROR_INVALID_PARAMETER, "got %u, expected %u\n", ret, ERROR_INVALID_PARAMETER);
 
-    row.dwState = MIB_TCP_STATE_DELETE_TCB;
+    U(row).dwState = MIB_TCP_STATE_DELETE_TCB;
     ret = pSetTcpEntry(&row);
     todo_wine ok( ret == ERROR_MR_MID_NOT_FOUND || broken(ret == ERROR_INVALID_PARAMETER),
        "got %u, expected %u\n", ret, ERROR_MR_MID_NOT_FOUND);
-- 
1.7.9.5



More information about the wine-patches mailing list