From af8e772b9e54951476da3cf0101e0f6fdaa2a13a Mon Sep 17 00:00:00 2001 From: niyarin Date: Sun, 10 Mar 2024 12:13:34 +0900 Subject: [PATCH] Fix int_xor to call flo_xor. --- src/numeric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/numeric.c b/src/numeric.c index 41951e6bc..50bf8c338 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -1455,7 +1455,7 @@ int_xor(mrb_state *mrb, mrb_value x) return mrb_bint_xor(mrb, mrb_as_bint(mrb, x), y); } #endif - bit_op(x, y, or, ^); + bit_op(x, y, xor, ^); } #define NUMERIC_SHIFT_WIDTH_MAX (MRB_INT_BIT-1)