Merge pull request #6197 from niyarin/fix/call-flo_xor

Fix int_xor to call flo_xor.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-03-11 11:44:17 +09:00
committed by GitHub
+1 -1
View File
@@ -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)