ruby-changes:42132
From: naruse <ko1@a...>
Date: Mon, 21 Mar 2016 03:28:27 +0900 (JST)
Subject: [ruby-changes:42132] naruse:r54206 (trunk): fix r54203's typo (no DLONG case)
naruse 2016-03-21 03:28:21 +0900 (Mon, 21 Mar 2016) New Revision: 54206 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54206 Log: fix r54203's typo (no DLONG case) Modified files: trunk/internal.h Index: internal.h =================================================================== --- internal.h (revision 54205) +++ internal.h (revision 54206) @@ -284,11 +284,11 @@ rb_fix_mul_fix(VALUE x, VALUE y) https://github.com/ruby/ruby/blob/trunk/internal.h#L284 #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 } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/