diff options
| author | forsyth <forsyth@vitanuova.com> | 2010-04-27 12:51:13 +0100 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2010-04-27 12:51:13 +0100 |
| commit | d67b7dad77bb8aa973dad1f7c3ab0c309b114278 (patch) | |
| tree | 6794120fb327d6de19cf05eed53f80d877781a3e /utils/cc/com.c | |
| parent | 09da2e137d5eb0c940df35d989e4c31ec0654fc4 (diff) | |
20100427-1251
Diffstat (limited to 'utils/cc/com.c')
| -rw-r--r-- | utils/cc/com.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
