diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-29 07:46:56 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-29 07:46:56 +0000 |
| commit | ccc13a951331813baaedf8ce04e49e05d0863d14 (patch) | |
| tree | 5d1eae8d65818174f6f94d57880e625fdfacc48a /object.c | |
| parent | 94736a51c2fcba5ca19435f7049c947f2642c304 (diff) | |
| download | ruby-ccc13a951331813baaedf8ce04e49e05d0863d14.tar.gz ruby-ccc13a951331813baaedf8ce04e49e05d0863d14.tar.xz ruby-ccc13a951331813baaedf8ce04e49e05d0863d14.zip | |
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
| -rw-r--r-- | object.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |
