Francois Gouget : dplayx/tests: Fix compilation on systems that don'
t support nameless unions.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Mar 6 16:13:15 CST 2007
Module: wine
Branch: master
Commit: eeb289ef91bd4454d87070841579f26f7e75144e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eeb289ef91bd4454d87070841579f26f7e75144e
Author: Francois Gouget <fgouget at free.fr>
Date: Tue Mar 6 14:25:51 2007 +0100
dplayx/tests: Fix compilation on systems that don't support nameless unions.
---
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);
More information about the wine-cvs
mailing list