Francois Gouget : ole32: Fix named/nameless union compilation error.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Dec 14 07:03:40 CST 2006


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Dec 13 17:53:37 2006 +0100

ole32: Fix named/nameless union compilation error.

---

 dlls/ole32/tests/ole2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/tests/ole2.c b/dlls/ole32/tests/ole2.c
index 9d37e0f..7c24103 100644
--- a/dlls/ole32/tests/ole2.c
+++ b/dlls/ole32/tests/ole2.c
@@ -1162,7 +1162,7 @@ static void test_data_cache(void)
 
     fmtetc.cfFormat = CF_METAFILEPICT;
     stgmedium.tymed = TYMED_MFPICT;
-    stgmedium.hMetaFilePict = OleMetafilePictFromIconAndLabel(
+    U(stgmedium).hMetaFilePict = OleMetafilePictFromIconAndLabel(
         LoadIcon(NULL, MAKEINTRESOURCE(IDI_APPLICATION)), wszPath, wszPath, 0);
     stgmedium.pUnkForRelease = NULL;
 




More information about the wine-cvs mailing list