summaryrefslogtreecommitdiff
path: root/utils/acid/expr.c
diff options
context:
space:
mode:
authorforsyth <forsyth@lavoro.terzarima.net>2013-06-03 21:01:14 +0000
committerforsyth <forsyth@lavoro.terzarima.net>2013-06-03 21:01:14 +0000
commit45a20ab721a513710138340faff3d59a31c3e01e (patch)
treeeea29d2684c51cc73725b8992a2125bede48e118 /utils/acid/expr.c
parentcd8e99851af33e52bcdf8faf34f9d4e62fa0cbaf (diff)
sync compilers with Plan 9
remove 1[acl] 2[acl]
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);