diff options
author | Jeff Epler <jepler@gmail.com> | 2025-07-06 08:14:31 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-07-25 11:01:16 +1000 |
commit | 87b7a9d7349c28b3acb13815bb63484d12203895 (patch) | |
tree | 7c6a50d0c511b69a5d8124f9d11a3a786b38fef4 /tests/internal_bench/class_create-4-classmethod.py | |
parent | ee4f27affa2a4cbf940081da4bdfa36d22351461 (diff) |
stm32: Add casts when printing small integers.
All these arguments are of type `mp_{u,}int_t`, but the actual value is
always a small integer. Cast it so that it can format with the `%d/%u`
formatter.
Before, the compiler plugin produced an error in the PYBD_SF6 build, which
is a nanboxing build with 64-bit ints.
Signed-off-by: Jeff Epler <jepler@gmail.com>
Diffstat (limited to 'tests/internal_bench/class_create-4-classmethod.py')
0 files changed, 0 insertions, 0 deletions