mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix to fit new raisef format.
This commit is contained in:
@@ -10,7 +10,7 @@ mrb_int_chr(mrb_state *mrb, mrb_value x)
|
||||
|
||||
chr = mrb_fixnum(x);
|
||||
if (chr >= (1 << CHAR_BIT)) {
|
||||
mrb_raisef(mrb, E_RANGE_ERROR, "%" PRIdMRB_INT " out of char range", chr);
|
||||
mrb_raisef(mrb, E_RANGE_ERROR, "%S out of char range", x);
|
||||
}
|
||||
c = (char)chr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user