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

Francois Gouget fgouget at free.fr
Tue Mar 6 07:25:51 CST 2007


---

Resolved the conflict and resubmitting...

 dlls/dplayx/tests/dplayx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/dplayx/tests/dplayx.c b/dlls/dplayx/tests/dplayx.c
index e6f39e8..af2a6ed 100644
--- a/dlls/dplayx/tests/dplayx.c
+++ b/dlls/dplayx/tests/dplayx.c
@@ -64,7 +64,7 @@ static void test_session_guid(LPDIRECTPLAY4 pDP)
     sessionDesc.dwSize = sizeof( DPSESSIONDESC2 );
     memcpy(&sessionDesc.guidApplication, &appGuid, 16);
     sessionDesc.dwFlags = DPSESSION_CLIENTSERVER;
-    sessionDesc.lpszSessionNameA = name;
+    U1(sessionDesc).lpszSessionNameA = name;
     sessionDesc.dwMaxPlayers = 10;
     sessionDesc.dwCurrentPlayers = 0;
     IDirectPlayX_Open(pDP, &sessionDesc, DPOPEN_CREATE);
-- 
1.4.4.4



More information about the wine-patches mailing list