Francois Gouget : iphlpapi/tests: Fix compilation on systems that don' t support nameless unions.
Alexandre Julliard
julliard at winehq.org
Mon Apr 30 14:13:07 CDT 2012
Module: wine
Branch: master
Commit: e0212511fcc16601921eff2afcb3771c8786a538
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e0212511fcc16601921eff2afcb3771c8786a538
Author: Francois Gouget <fgouget at free.fr>
Date: Sun Apr 29 11:34:20 2012 +0200
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 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);
More information about the wine-cvs
mailing list