Module: wine Branch: master Commit: eeb289ef91bd4454d87070841579f26f7e75144e URL: http://source.winehq.org/git/wine.git/?a=commit;h=eeb289ef91bd4454d870708415...
Author: Francois Gouget fgouget@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);