From e0212511fcc16601921eff2afcb3771c8786a538 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sun, 29 Apr 2012 11:34:20 +0200 Subject: [PATCH] iphlpapi/tests: Fix compilation on systems that don't support nameless unions. --- 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 7ab5cff5e9d..002f30fa543 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); -- 2.11.4.GIT