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 | b48fce265c116d3f3e1ecbd9822802c1340f5e83 (patch) | |
tree | fca325b6f6f78d54cb76913fff3dae8f944e80e0 /internal.h | |
parent | 6d97a5de091a9320dc39d7de0e520e62c55bf83c (diff) | |
download | ruby-b48fce265c116d3f3e1ecbd9822802c1340f5e83.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
Diffstat (limited to 'internal.h')
-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 } |