git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2000-06-29 07:46:56 +00:00
parent 1e965f4f9a
commit 11fef7fd63
4 changed files with 24 additions and 16 deletions

View file

@ -893,8 +893,8 @@ rb_Integer(val)
case T_STRING:
return rb_str2inum(val, 0);
case T_NIL:
return INT2FIX(0);
case T_FIXNUM:
return val;
default:
break;