diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-21 09:32:18 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-21 09:32:18 +0000 |
commit | ca014ae071bbd6ce820b8907e5191d5a876500a7 (patch) | |
tree | be54ccebf6853e3a15c5c0b03cbccd9aec456c3e /string.c | |
parent | 5527d3ae593a9fd666cd4c894fafd6b2ed2a89fe (diff) | |
download | ruby-ca014ae071bbd6ce820b8907e5191d5a876500a7.tar.gz |
* string.c (rb_str_cmp_m): should use LONG2NUM().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -826,7 +826,7 @@ rb_str_cmp_m(str1, str2) else { result = rb_str_cmp(str1, str2); } - return LONG2FIX(result); + return LONG2NUM(result); } static VALUE |