mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +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;
|
continue;
|
||||||
}
|
}
|
||||||
if (type == ARG_TYPE_INT) {
|
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) {
|
} else if (type == ARG_TYPE_FLOAT) {
|
||||||
__platform_printf("%f\r\n", arg_getFloat(arg));
|
__platform_printf("%f\r\n", arg_getFloat(arg));
|
||||||
} else if (type == ARG_TYPE_STRING) {
|
} else if (type == ARG_TYPE_STRING) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user