From a06857a11ad16a3ca1e22815687c37a5ebd38fb6 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Tue, 24 Jun 2025 10:06:58 +0200 Subject: [PATCH] unix/coverage: Cast type names to qstr explicitly. 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 5bd02f6fb..c27198b3b 100644 --- a/ports/unix/coverage.c +++ b/ports/unix/coverage.c @@ -218,7 +218,7 @@ static mp_obj_t extra_coverage(void) { } mp_printf(&mp_plat_print, "%p\n", (void *)0x789f); // pointer mp_printf(&mp_plat_print, "%P\n", (void *)0x789f); // pointer uppercase - mp_printf(&mp_plat_print, "%.2s %.3s '%4.4s' '%5.5q' '%.3q'\n", "abc", "abc", "abc", MP_QSTR_True, MP_QSTR_True); // fixed string precision + mp_printf(&mp_plat_print, "%.2s %.3s '%4.4s' '%5.5q' '%.3q'\n", "abc", "abc", "abc", (qstr)MP_QSTR_True, (qstr)MP_QSTR_True); // fixed string precision mp_printf(&mp_plat_print, "%.*s\n", -1, "abc"); // negative string precision mp_printf(&mp_plat_print, "%b %b\n", 0, 1); // bools #ifndef NDEBUG