Commit 41de3d83 authored by h2so5's avatar h2so5

Disable implicit integer conversion in mrb_get_args

parent 250b62d9
......@@ -580,12 +580,7 @@ mrb_get_args(mrb_state *mrb, const char *format, ...)
*p = 0;
break;
default:
{
mrb_value tmp;
tmp = mrb_convert_type(mrb, *sp, MRB_TT_FIXNUM, "Integer", "to_int");
*p = mrb_fixnum(tmp);
}
*p = mrb_fixnum(mrb_Integer(mrb, *sp));
break;
}
sp++;
......
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