mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #6197 from niyarin/fix/call-flo_xor
Fix int_xor to call flo_xor.
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user