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

Alexandre Julliard julliard at winehq.org
Mon Aug 31 10:48:11 CDT 2009


Module: wine
Branch: master
Commit: ea71c9e5fd0654e1aa8725746bfd1f9b82d0d169
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ea71c9e5fd0654e1aa8725746bfd1f9b82d0d169

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Aug 31 11:52:28 2009 +0200

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 3eba147..6636999 100644
--- a/dlls/dplayx/tests/dplayx.c
+++ b/dlls/dplayx/tests/dplayx.c
@@ -6241,7 +6241,7 @@ static void test_host_migration(void)
             check( 0,                   lpData->dwLocalDataSize );
             checkLP( NULL,              lpData->lpRemoteData );
             check( 0,                   lpData->dwRemoteDataSize );
-            checkLP( NULL,              lpData->dpnName.lpszShortNameA );
+            checkLP( NULL,              U1(lpData->dpnName).lpszShortNameA );
             check( 0,                   lpData->dpIdParent );
             checkFlags( 0,              lpData->dwFlags,
                         FLAGS_DPPLAYER | FLAGS_DPGROUP );




More information about the wine-cvs mailing list