Commit eeb289ef authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 2c595a1a
...@@ -64,7 +64,7 @@ static void test_session_guid(LPDIRECTPLAY4 pDP) ...@@ -64,7 +64,7 @@ static void test_session_guid(LPDIRECTPLAY4 pDP)
sessionDesc.dwSize = sizeof( DPSESSIONDESC2 ); sessionDesc.dwSize = sizeof( DPSESSIONDESC2 );
memcpy(&sessionDesc.guidApplication, &appGuid, 16); memcpy(&sessionDesc.guidApplication, &appGuid, 16);
sessionDesc.dwFlags = DPSESSION_CLIENTSERVER; sessionDesc.dwFlags = DPSESSION_CLIENTSERVER;
sessionDesc.lpszSessionNameA = name; U1(sessionDesc).lpszSessionNameA = name;
sessionDesc.dwMaxPlayers = 10; sessionDesc.dwMaxPlayers = 10;
sessionDesc.dwCurrentPlayers = 0; sessionDesc.dwCurrentPlayers = 0;
IDirectPlayX_Open(pDP, &sessionDesc, DPOPEN_CREATE); IDirectPlayX_Open(pDP, &sessionDesc, DPOPEN_CREATE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment