summaryrefslogtreecommitdiff
path: root/tests/internal_bench/class_create-5-staticmethod.py
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2025-07-05 09:34:29 +0100
committerDamien George <damien@micropython.org>2025-07-25 11:00:41 +1000
commitee4f27affa2a4cbf940081da4bdfa36d22351461 (patch)
treeff8a99b3b7a0147a29c17c03e47a2e0d7a73a5e4 /tests/internal_bench/class_create-5-staticmethod.py
parent4495610f8d5d38bf9f4b82f5568675509019758e (diff)
py/objcell: Fix printing of cell ID/pointer.
On the nanbox build, `o->obj` is a 64-bit type but `%p` formats a 32-bit type, leading to undefined behavior. Print the cell's ID as a hex integer instead. This location was found using an experimental gcc plugin for `mp_printf` error checking. Signed-off-by: Jeff Epler <jepler@gmail.com>
Diffstat (limited to 'tests/internal_bench/class_create-5-staticmethod.py')
0 files changed, 0 insertions, 0 deletions