oleaut32: Use V_INT instead of V_UNION.

This commit is contained in:
Huw Davies 2008-09-15 14:08:34 +01:00 committed by Alexandre Julliard
parent fbcd6422ef
commit fd3be66531
1 changed files with 2 additions and 2 deletions

View File

@ -3146,7 +3146,7 @@ static void SLTG_DoVars(char *pBlk, char *pFirstItem, ITypeInfoImpl *pTI, unsign
sizeof(VARIANT));
V_VT((*ppVarDesc)->vardesc.u.lpvarValue) = VT_INT;
if (pItem->flags & 0x08)
V_UNION((*ppVarDesc)->vardesc.u.lpvarValue, intVal) = pItem->byte_offs;
V_INT((*ppVarDesc)->vardesc.u.lpvarValue) = pItem->byte_offs;
else {
switch ((*ppVarDesc)->vardesc.elemdescVar.tdesc.vt)
{
@ -3174,7 +3174,7 @@ static void SLTG_DoVars(char *pBlk, char *pFirstItem, ITypeInfoImpl *pTI, unsign
case VT_UI4:
case VT_INT:
case VT_UINT:
V_UNION((*ppVarDesc)->vardesc.u.lpvarValue, intVal) =
V_INT((*ppVarDesc)->vardesc.u.lpvarValue) =
*(INT*)(pBlk + pItem->byte_offs);
break;
default: