Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyNumeric.java
Original file line number Diff line number Diff line change
@@ -337,7 +337,7 @@ public static IRubyObject num2fix(IRubyObject val) {
*/
public static RubyInteger str2inum(Ruby runtime, RubyString str, int base, boolean strict) {
ByteList s = str.getByteList();
return ConvertBytes.byteListToInum(runtime, s, base, strict);
return ConvertBytes.byteListToInum19(runtime, s, base, strict);
}

/**

0 comments on commit b54b9d5

Please sign in to comment.