mirror of
https://github.com/corda/corda.git
synced 2025-02-27 19:46:38 +00:00
fix i2l to preserve signedness
This commit is contained in:
parent
1f6c2dbbb1
commit
b0bb443fa2
@ -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: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user