summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-19 06:44:09 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-19 06:44:09 +0000
commite7b7d28b65922b3c83ba0509182414b46bcc408b (patch)
tree08e060c9e9fdf461b117a6733641619648d7ba39 /array.c
parentb818cdfaf390e0d721bb3e3809280b35fbcf1985 (diff)
* array.c (sort_2): fatal typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 5311f2b..bf3aa5c 100644
--- a/array.c
+++ b/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;