Module: wine Branch: refs/heads/master Commit: c9a08007eb576cb695472e542147f7c1564800dc URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c9a08007eb576cb695472e54...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Jul 27 20:43:03 2006 +0200
widl: Use cval in ATTR_ID.
---
tools/widl/write_msft.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c index 67733b0..f5c1e2e 100644 --- a/tools/widl/write_msft.c +++ b/tools/widl/write_msft.c @@ -1324,7 +1324,7 @@ static HRESULT add_func_desc(msft_typein 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_typeinf varflags |= 0x40; /* VARFLAG_FHIDDEN */ break; case ATTR_ID: - id = expr->u.lval; + id = expr->cval; break; case ATTR_READONLY: varflags |= 0x01; /* VARFLAG_FREADONLY */