From 2d93909ebe050ab08abf7de63f735b1417e02084 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Sun, 6 Jul 2025 08:12:01 +0100 Subject: [PATCH] extmod/modlwip: Print timeout with correct format string. As timeout is of type `mp_uint_t`, it must be printed with UINT_FMT. 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 --- extmod/modlwip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extmod/modlwip.c b/extmod/modlwip.c index b53559ed8..b84b3b762 100644 --- a/extmod/modlwip.c +++ b/extmod/modlwip.c @@ -907,7 +907,7 @@ static const mp_obj_type_t lwip_socket_type; static void lwip_socket_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) { lwip_socket_obj_t *self = MP_OBJ_TO_PTR(self_in); - mp_printf(print, "", self->incoming.tcp.pbuf, self->recv_offset); } else {