ole32: Fix named/nameless union compilation error.
Francois Gouget
fgouget at free.fr
Wed Dec 13 10:53:37 CST 2006
---
This fixes compilation with gcc 2.95.
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;
--
1.4.4.1
More information about the wine-patches
mailing list