diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-20 18:28:21 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-20 18:28:21 +0000 |
commit | cd2c650f46027c7d465c08bdf1d08648d421adf6 (patch) | |
tree | fca325b6f6f78d54cb76913fff3dae8f944e80e0 | |
parent | 60f4d3178da450b28dcba4c6f748c69f2c310fe2 (diff) | |
download | ruby-cd2c650f46027c7d465c08bdf1d08648d421adf6.tar.gz |
fix r54203's typo (no DLONG case)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 } |