From d67b7dad77bb8aa973dad1f7c3ab0c309b114278 Mon Sep 17 00:00:00 2001 From: forsyth Date: Tue, 27 Apr 2010 12:51:13 +0100 Subject: 20100427-1251 --- utils/cc/com.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/cc/com.c') diff --git a/utils/cc/com.c b/utils/cc/com.c index 558077b7..59a7bd06 100644 --- a/utils/cc/com.c +++ b/utils/cc/com.c @@ -221,6 +221,8 @@ tcomo(Node *n, int f) if(tcompat(n, l->type, r->type, tand)) goto bad; n->type = l->type; + n->right = new1(OCAST, r, Z); + n->right->type = types[TINT]; if(typeu[n->type->etype]) { if(n->op == OASASHR) n->op = OASLSHR; -- cgit v1.2.3