1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix mixed declarations in r31822.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-05-30 07:28:30 +00:00
parent 1d5431374d
commit 13e644cb2a

View file

@ -1461,8 +1461,9 @@ opt_mult
val = recv;
}
else {
volatile long c;
b = FIX2LONG(obj);
volatile long c = a * b;
c = a * b;
if (FIXABLE(c) && c / a == b) {
val = LONG2FIX(c);