Fix to fit new raisef format.

This commit is contained in:
Masaki Muranaka
2013-04-01 09:03:20 +09:00
parent cc6e62ef3e
commit 2ae9b08b37
+1 -1
View File
@@ -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;