Commit 2ae9b08b authored by Masaki Muranaka's avatar Masaki Muranaka

Fix to fit new raisef format.

parent cc6e62ef
...@@ -10,7 +10,7 @@ mrb_int_chr(mrb_state *mrb, mrb_value x) ...@@ -10,7 +10,7 @@ mrb_int_chr(mrb_state *mrb, mrb_value x)
chr = mrb_fixnum(x); chr = mrb_fixnum(x);
if (chr >= (1 << CHAR_BIT)) { 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; c = (char)chr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment