fix print int64_t not fine in some platforms

This commit is contained in:
lyon1998 2022-04-09 02:33:40 +08:00
parent 757f00893a
commit b2e77ddcf0

View File

@ -1251,7 +1251,7 @@ void VMState_solveUnusedStack(VMState* vs) {
continue;
}
if (type == ARG_TYPE_INT) {
__platform_printf("%d\r\n", arg_getInt(arg));
__platform_printf("%d\r\n", (int32_t)arg_getInt(arg));
} else if (type == ARG_TYPE_FLOAT) {
__platform_printf("%f\r\n", arg_getFloat(arg));
} else if (type == ARG_TYPE_STRING) {