From 361613bb2312bd9c995398b7538058e06c1d8b07 Mon Sep 17 00:00:00 2001 From: erikb Date: Tue, 26 Aug 1986 14:59:36 +0000 Subject: [PATCH] first operand to intexpr is arith typed --- lang/cem/cemcom/ch7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/cem/cemcom/ch7.c b/lang/cem/cemcom/ch7.c index 9c5819eda..d73052fc0 100644 --- a/lang/cem/cemcom/ch7.c +++ b/lang/cem/cemcom/ch7.c @@ -335,7 +335,7 @@ ch7asgn(expp, oper, expr) ch7cast(&expr, oper, (*expp)->ex_type); } else { /* turn e into e' where typeof(e') = typeof (f op e) */ - struct expr *extmp = intexpr(0, INT); + struct expr *extmp = intexpr((arith)0, INT); /* this is really $#@&*%$# ! */ extmp->ex_lvalue = 1;