mirror of
https://github.com/corda/corda.git
synced 2025-01-06 21:18:46 +00:00
Fix incorrect format parameters
This commit is contained in:
parent
89b22dd3ab
commit
1c9667104e
@ -558,21 +558,21 @@ invokeNative(Thread* t, object method)
|
|||||||
case ByteField:
|
case ByteField:
|
||||||
case BooleanField:
|
case BooleanField:
|
||||||
if (DebugRun) {
|
if (DebugRun) {
|
||||||
fprintf(stderr, "result: %"LLD"\n", static_cast<int8_t>(result));
|
fprintf(stderr, "result: %"LD"\n", static_cast<int8_t>(result));
|
||||||
}
|
}
|
||||||
pushInt(t, static_cast<int8_t>(result));
|
pushInt(t, static_cast<int8_t>(result));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CharField:
|
case CharField:
|
||||||
if (DebugRun) {
|
if (DebugRun) {
|
||||||
fprintf(stderr, "result: %"LLD"\n", static_cast<uint16_t>(result));
|
fprintf(stderr, "result: %"LD"\n", static_cast<uint16_t>(result));
|
||||||
}
|
}
|
||||||
pushInt(t, static_cast<uint16_t>(result));
|
pushInt(t, static_cast<uint16_t>(result));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ShortField:
|
case ShortField:
|
||||||
if (DebugRun) {
|
if (DebugRun) {
|
||||||
fprintf(stderr, "result: %"LLD"\n", static_cast<int16_t>(result));
|
fprintf(stderr, "result: %"LD"\n", static_cast<int16_t>(result));
|
||||||
}
|
}
|
||||||
pushInt(t, static_cast<int16_t>(result));
|
pushInt(t, static_cast<int16_t>(result));
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user