mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
fix print int64_t not fine in some platforms
This commit is contained in:
parent
757f00893a
commit
b2e77ddcf0
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user