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 61592a5e..8e245e71 100644
--- a/arith.c
+++ b/arith.c
@@ -1621,7 +1621,7 @@ bad:
val logtest(val a, val b)
{
/* TODO: optimize */
- return logand(a, b) == zero;
+ return logand(a, b) == zero ? t : nil;
}
static val comp_trunc(val a, val bits)