Skip to content

Commit

Permalink
Fix to fit new raisef format.
Browse files Browse the repository at this point in the history
  • Loading branch information
monaka committed Apr 1, 2013
1 parent cc6e62e commit 2ae9b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrbgems/mruby-numeric-ext/src/numeric_ext.c
Expand Up @@ -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;

Expand Down

0 comments on commit 2ae9b08

Please sign in to comment.