summaryrefslogtreecommitdiffstats
path: root/arith.c
diff options
context:
space:
mode:
Diffstat (limited to 'arith.c')
-rw-r--r--arith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arith.c b/arith.c
index b90f79bc..c52cdb6c 100644
--- a/arith.c
+++ b/arith.c
@@ -1655,7 +1655,7 @@ bad:
val logtest(val a, val b)
{
/* TODO: optimize */
- return logand(a, b) == zero ? t : nil;
+ return logand(a, b) == zero ? nil : t;
}
static val comp_trunc(val a, val bits)