widl: Use cval in ATTR_ID.

This commit is contained in:
Jacek Caban 2006-07-27 20:43:03 +02:00 committed by Alexandre Julliard
parent b86bc2b634
commit c9a08007eb
1 changed files with 2 additions and 2 deletions

View File

@ -1324,7 +1324,7 @@ static HRESULT add_func_desc(msft_typeinfo_t* typeinfo, func_t *func, int index)
funcflags |= 0x40; /* FUNCFLAG_FHIDDEN */
break;
case ATTR_ID:
id = expr->u.lval;
id = expr->cval;
break;
case ATTR_OUT:
break;
@ -1577,7 +1577,7 @@ static HRESULT add_var_desc(msft_typeinfo_t *typeinfo, UINT index, var_t* var)
varflags |= 0x40; /* VARFLAG_FHIDDEN */
break;
case ATTR_ID:
id = expr->u.lval;
id = expr->cval;
break;
case ATTR_READONLY:
varflags |= 0x01; /* VARFLAG_FREADONLY */