Fix int_xor to call flo_xor.

This commit is contained in:
niyarin
2024-03-10 12:13:34 +09:00
parent 44edd3438b
commit af8e772b9e
+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)