fix i2l to preserve signedness

This commit is contained in:
Joel Dice 2007-09-17 16:16:17 -06:00
parent 1f6c2dbbb1
commit b0bb443fa2

View File

@ -1287,7 +1287,7 @@ run(Thread* t)
} goto loop; } goto loop;
case i2l: { case i2l: {
pushLong(t, popInt(t)); pushLong(t, static_cast<int32_t>(popInt(t)));
} goto loop; } goto loop;
case i2s: { case i2s: {