result of sizeof() is 'unsigned int' (for backward compatibility)

This commit is contained in:
eck
1990-04-23 13:33:07 +00:00
parent 86188fb772
commit 81b7f67cb4
2 changed files with 2 additions and 3 deletions

View File

@@ -153,7 +153,7 @@ ch3mon(oper, expp)
(arith)((*expp)->SG_LEN) :
size_of_type((*expp)->ex_type,
symbol2str((*expp)->ex_type->tp_fund))
, (int_size == pointer_size ? UNSIGNED : ULONG));
, UNSIGNED);
expr->ex_flags |= EX_SIZEOF;
free_expression(*expp);
*expp = expr;