* 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:
matz 2002-08-19 06:44:09 +00:00
parent b818cdfaf3
commit e7b7d28b65

View File

@ -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;