mirror of
https://github.com/corda/corda.git
synced 2025-03-17 17:45:17 +00:00
fix signedness error for wide iinc implementation
This commit is contained in:
parent
b023d147df
commit
ebc54c234f
@ -4953,7 +4953,7 @@ compile(MyThread* t, Frame* initialFrame, unsigned ip,
|
||||
|
||||
case iinc: {
|
||||
uint16_t index = codeReadInt16(t, code, ip);
|
||||
uint16_t count = codeReadInt16(t, code, ip);
|
||||
int16_t count = codeReadInt16(t, code, ip);
|
||||
|
||||
storeLocal
|
||||
(context, 1,
|
||||
|
@ -21,6 +21,11 @@ public class Integers {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
{ int foo = 1028;
|
||||
foo -= 1023;
|
||||
expect(foo == 5);
|
||||
}
|
||||
|
||||
expect(gcd(12, 4) == 4);
|
||||
|
||||
{ int a = 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user