Add cast to remove warning.

This commit is contained in:
Cary R 2008-09-09 13:48:54 -07:00 committed by Stephen Williams
parent f233793061
commit 3982781e97
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ void PGAssign::elaborate(Design*des, NetScope*scope) const
<< ", unsized_flag=" << (unsized_flag?"true":"false") << endl;
}
int expr_wid = unsized_flag? -1 : use_width;
int expr_wid = unsized_flag? -1 : (int) use_width;
NetExpr*rval_expr = elab_and_eval(des, scope, pin(1),
expr_wid, lval->vector_width());