mirror of
https://github.com/corda/corda.git
synced 2025-01-04 20:24:17 +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 BooleanField:
|
||||
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));
|
||||
break;
|
||||
|
||||
case CharField:
|
||||
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));
|
||||
break;
|
||||
|
||||
case ShortField:
|
||||
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));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user