Fix incorrect format parameters

This commit is contained in:
Eric Scharff 2007-10-25 08:52:18 -06:00
parent 89b22dd3ab
commit 1c9667104e

View File

@ -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;