diff options
Diffstat (limited to 'src/cmd/acid')
-rw-r--r-- | src/cmd/acid/expr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/acid/expr.c b/src/cmd/acid/expr.c index 2330c430..61d5951e 100644 --- a/src/cmd/acid/expr.c +++ b/src/cmd/acid/expr.c @@ -855,11 +855,12 @@ ocand(Node *n, Node *res) { Node l, r; - res->store.fmt = l.store.fmt; + res->store.fmt = 'D'; res->op = OCONST; res->type = TINT; res->store.u.ival = 0; expr(n->left, &l); + res->store.fmt = l.store.fmt; if(bool(&l) == 0) return; expr(n->right, &r); |