We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c66cddc commit d4b2c71Copy full SHA for d4b2c71
1 file changed
py/runtime.c
@@ -1691,7 +1691,7 @@ MP_NORETURN void m_malloc_fail(size_t num_bytes) {
1691
}
1692
#endif
1693
mp_raise_msg_varg(&mp_type_MemoryError,
1694
- MP_ERROR_TEXT("memory allocation failed, allocating " SIZE_FMT " bytes"), (mp_uint_t)num_bytes);
+ MP_ERROR_TEXT("memory allocation failed, allocating " SIZE_FMT " bytes"), num_bytes);
1695
1696
1697
#if MICROPY_ERROR_REPORTING == MICROPY_ERROR_REPORTING_NONE
0 commit comments