diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-14 07:10:31 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-14 07:10:31 +0000 |
commit | 46620a87720943120cabe6ffe2e94a2c3506c4c2 (patch) | |
tree | 472565a24cc842b64c3b97f573688154a1ac75bb /numeric.c | |
parent | e9cf3b3bf56646e94df9189bfe8d6449b79ca0fb (diff) |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -785,7 +785,7 @@ rb_num2long(val) return Qnil; /* not reached */ default: - val = rb_Integer(val); + val = rb_to_int(val); return NUM2LONG(val); } } |