diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-03 20:04:35 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-03 20:04:35 +0000 |
commit | f8ed3b245ac977526295cf0d7eab55ec7059e016 (patch) | |
tree | d5b762a957aa242807e3fd3114fa52aa15d3f53b /numeric.c | |
parent | 17df532792cc2902496c27d32a4cb357a09bb91e (diff) | |
download | ruby-f8ed3b245ac977526295cf0d7eab55ec7059e016.tar.gz |
* numeric.c (rb_num2uint, rb_fix2uint): typo.
* ChangeLog: format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1615,7 +1615,7 @@ rb_num2uint(VALUE val) { unsigned long num = rb_num2ulong(val); - check_uint(num, RTEST(rb_funcall(val, '<', INT2FIX(0)))); + check_uint(num, RTEST(rb_funcall(val, '<', 1, INT2FIX(0)))); return num; } @@ -1628,7 +1628,7 @@ rb_fix2uint(VALUE val) return rb_num2uint(val); } num = FIX2ULONG(val); - check_uint(num, RTEST(rb_funcall(val, '<', INT2FIX(0)))); + check_uint(num, RTEST(rb_funcall(val, '<', 1, INT2FIX(0)))); return num; } #else |