Commit c9a08007 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

widl: Use cval in ATTR_ID.

parent b86bc2b6
...@@ -1324,7 +1324,7 @@ static HRESULT add_func_desc(msft_typeinfo_t* typeinfo, func_t *func, int index) ...@@ -1324,7 +1324,7 @@ static HRESULT add_func_desc(msft_typeinfo_t* typeinfo, func_t *func, int index)
funcflags |= 0x40; /* FUNCFLAG_FHIDDEN */ funcflags |= 0x40; /* FUNCFLAG_FHIDDEN */
break; break;
case ATTR_ID: case ATTR_ID:
id = expr->u.lval; id = expr->cval;
break; break;
case ATTR_OUT: case ATTR_OUT:
break; break;
...@@ -1577,7 +1577,7 @@ static HRESULT add_var_desc(msft_typeinfo_t *typeinfo, UINT index, var_t* var) ...@@ -1577,7 +1577,7 @@ static HRESULT add_var_desc(msft_typeinfo_t *typeinfo, UINT index, var_t* var)
varflags |= 0x40; /* VARFLAG_FHIDDEN */ varflags |= 0x40; /* VARFLAG_FHIDDEN */
break; break;
case ATTR_ID: case ATTR_ID:
id = expr->u.lval; id = expr->cval;
break; break;
case ATTR_READONLY: case ATTR_READONLY:
varflags |= 0x01; /* VARFLAG_FREADONLY */ varflags |= 0x01; /* VARFLAG_FREADONLY */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment