diff options
author | Jeff Epler <jepler@gmail.com> | 2025-06-24 10:06:50 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-07-25 10:59:04 +1000 |
commit | aa9152ae0c61cab59691d74c95cf6fe10c3d5ea8 (patch) | |
tree | 8d1914d95b86f11861aa48478b1293fa24b42a6e | |
parent | db7e93591702a8817bf6f9adde728698546ef7a2 (diff) |
unix/coverage: Provide argmuents of expected integer types.
Signed-off-by: Jeff Epler <jepler@gmail.com>
-rw-r--r-- | ports/unix/coverage.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |