From b48fce265c116d3f3e1ecbd9822802c1340f5e83 Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 20 Mar 2016 18:28:21 +0000 Subject: fix r54203's typo (no DLONG case) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- internal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal.h') diff --git a/internal.h b/internal.h index c30cc6ffed..af4cc98aed 100644 --- a/internal.h +++ b/internal.h @@ -284,11 +284,11 @@ rb_fix_mul_fix(VALUE x, VALUE y) #ifdef DLONG return DL2NUM((DLONG)lx * (DLONG)ly); #else - if (MUL_OVERFLOW_FIXNUM_P(a, b)) { - return rb_big_mul(rb_int2big(a), rb_int2big(b)); + if (MUL_OVERFLOW_FIXNUM_P(x, y)) { + return rb_big_mul(rb_int2big(x), rb_int2big(y)); } else { - return LONG2FIX(a * b); + return LONG2FIX(x * y); } #endif } -- cgit v1.2.3