From e0f2593446810b44422422bd86b049ad380fdca1 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sun, 4 Mar 2007 02:00:13 +0100 Subject: [PATCH] oleview: Fix compilation on systems that don't support nameless unions. --- programs/oleview/typelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/oleview/typelib.c b/programs/oleview/typelib.c index 49568bb80ae..b417c576a14 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);