From aa9152ae0c61cab59691d74c95cf6fe10c3d5ea8 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Tue, 24 Jun 2025 10:06:50 +0200 Subject: [PATCH] unix/coverage: Provide argmuents of expected integer types. Signed-off-by: Jeff Epler --- ports/unix/coverage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/unix/coverage.c b/ports/unix/coverage.c index aef123bb6..0b97226f7 100644 --- a/ports/unix/coverage.c +++ b/ports/unix/coverage.c @@ -203,7 +203,7 @@ static mp_obj_t extra_coverage(void) { mp_printf(&mp_plat_print, "# mp_printf\n"); mp_printf(&mp_plat_print, "%d %+d % d\n", -123, 123, 123); // sign mp_printf(&mp_plat_print, "%05d\n", -123); // negative number with zero padding - mp_printf(&mp_plat_print, "%ld\n", 123); // long + mp_printf(&mp_plat_print, "%ld\n", 123l); // long mp_printf(&mp_plat_print, "%lx\n", 0x123fl); // long hex mp_printf(&mp_plat_print, "%lX\n", 0x123fl); // capital long hex if (sizeof(mp_int_t) == 8) {