summaryrefslogtreecommitdiff
path: root/utils/acid/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/acid/expr.c')
-rw-r--r--utils/acid/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/acid/expr.c b/utils/acid/expr.c
index 4d3dcd94..826edef5 100644
--- a/utils/acid/expr.c
+++ b/utils/acid/expr.c
@@ -835,11 +835,11 @@ ocand(Node *n, Node *res)
{
Node l, r;
- res->nstore.fmt = l.nstore.fmt;
res->op = OCONST;
res->type = TINT;
res->nstore.u0.sival = 0;
expr(n->left, &l);
+ res->nstore.fmt = l.nstore.fmt;
if(bool(&l) == 0)
return;
expr(n->right, &r);