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

This commit is contained in:
Francois Gouget 2007-03-06 14:25:51 +01:00 committed by Alexandre Julliard
parent 2c595a1a63
commit eeb289ef91

View File

@ -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);