diff options
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; |
