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 d39f1396..30ba88c2 100644
--- a/arith.c
+++ b/arith.c
@@ -1128,7 +1128,7 @@ tail:
case TYPE_PAIR(BGNUM, CHR):
return mp_cmp_z(mp(anum)) == MP_EQ ? t : nil;
case TYPE_PAIR(BGNUM, BGNUM):
- return mp_cmp(mp(anum), mp(bnum) == MP_EQ) ? t : nil;
+ return mp_cmp(mp(anum), mp(bnum)) == MP_EQ ? t : nil;
case TYPE_PAIR(NUM, FLNUM):
case TYPE_PAIR(CHR, FLNUM):
return c_num(anum) == c_flo(bnum) ? t : nil;