Reverting overzealous changes

This commit is contained in:
Jared Breeden
2015-06-22 19:49:12 -07:00
parent 264a059aef
commit cfcca2a727
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -2003,6 +2003,7 @@ mrb_str_to_inum(mrb_state *mrb, mrb_value str, mrb_int base, mrb_bool badcheck)
const char *s;
mrb_int len;
str = mrb_str_to_str(mrb, str);
if (badcheck) {
s = mrb_string_value_cstr(mrb, &str);
}