summaryrefslogtreecommitdiff
path: root/utils/acid
diff options
context:
space:
mode:
authorCharles Forsyth <charles.forsyth@gmail.com>2015-07-24 21:24:21 +0100
committerCharles Forsyth <charles.forsyth@gmail.com>2015-07-24 21:24:21 +0100
commit1272589e9dbbf247bc21e6970137eba8dcc947f3 (patch)
tree922f2f1c5bac6b0d1c96795bfc73c9c9961b7738 /utils/acid
parenteeab83bd37f292b90f79cf43cf607cc60181e2f9 (diff)
change bool -> boolx
Diffstat (limited to 'utils/acid')
-rw-r--r--utils/acid/expr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/acid/expr.c b/utils/acid/expr.c
index 826edef5..23c3ce26 100644
--- a/utils/acid/expr.c
+++ b/utils/acid/expr.c
@@ -840,10 +840,10 @@ ocand(Node *n, Node *res)
res->nstore.u0.sival = 0;
expr(n->left, &l);
res->nstore.fmt = l.nstore.fmt;
- if(bool(&l) == 0)
+ if(boolx(&l) == 0)
return;
expr(n->right, &r);
- if(bool(&r) == 0)
+ if(boolx(&r) == 0)
return;
res->nstore.u0.sival = 1;
}
@@ -857,7 +857,7 @@ onot(Node *n, Node *res)
res->type = TINT;
res->nstore.u0.sival = 0;
expr(n->left, &l);
- if(bool(&l) == 0)
+ if(boolx(&l) == 0)
res->nstore.u0.sival = 1;
}
@@ -870,12 +870,12 @@ ocor(Node *n, Node *res)
res->type = TINT;
res->nstore.u0.sival = 0;
expr(n->left, &l);
- if(bool(&l)) {
+ if(boolx(&l)) {
res->nstore.u0.sival = 1;
return;
}
expr(n->right, &r);
- if(bool(&r)) {
+ if(boolx(&r)) {
res->nstore.u0.sival = 1;
return;
}