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 450e8c5c..f9924d71 100644
--- a/arith.c
+++ b/arith.c
@@ -1700,7 +1700,7 @@ val lognot(val a, val bits)
{
val b;
- if (bits)
+ if (default_bool_arg(bits))
return comp_trunc(a, bits);
switch (type(a)) {