Module: wine Branch: master Commit: e0f2593446810b44422422bd86b049ad380fdca1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e0f2593446810b44422422bd86...
Author: Francois Gouget fgouget@free.fr Date: Sun Mar 4 02:00:13 2007 +0100
oleview: Fix compilation on systems that don't support nameless unions.
---
programs/oleview/typelib.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/oleview/typelib.c b/programs/oleview/typelib.c index 49568bb..b417c57 100644 --- a/programs/oleview/typelib.c +++ b/programs/oleview/typelib.c @@ -470,7 +470,7 @@ int EnumEnums(ITypeInfo *pTypeInfo, int cVars, HTREEITEM hParent) { VARIANT var; VariantInit(&var); - if (VariantChangeType(&var, pVarDesc->lpvarValue, 0, VT_BSTR) == S_OK) + if (VariantChangeType(&var, U(*pVarDesc).lpvarValue, 0, VT_BSTR) == S_OK) { AddToStrW(wszText, wszConst); AddToStrW(wszText, wszSpace);