mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c (sort_2): fatal typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b818cdfaf3
commit
e7b7d28b65
1 changed files with 1 additions and 1 deletions
2
array.c
2
array.c
|
@ -1089,7 +1089,7 @@ sort_2(ap, bp)
|
|||
VALUE *ap, *bp;
|
||||
{
|
||||
VALUE retval;
|
||||
long a = (long)*ap, b = (long)*ap;
|
||||
long a = (long)*ap, b = (long)*bp;
|
||||
|
||||
if (FIXNUM_P(a) && FIXNUM_P(b)) {
|
||||
if (a > b) return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue