From 317c80a2578cadb9bc4e6bd4bee38bcb4704cce5 Mon Sep 17 00:00:00 2001 From: pstef <3462925+pstef@users.noreply.github.com> Date: Thu, 10 Apr 2025 16:06:59 +0000 Subject: [PATCH] Silence a shorten-64-to-32 warning The result of this multiplication will fit into a 32-bit int. --- menu/drivers/ozone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/drivers/ozone.c b/menu/drivers/ozone.c index bbfd4135a1..3baded37c0 100644 --- a/menu/drivers/ozone.c +++ b/menu/drivers/ozone.c @@ -9167,7 +9167,7 @@ static void ozone_cache_footer_label( /* If font_driver_get_message_width() fails, * use predetermined glyph_width as a fallback */ if (label->width < 0) - label->width = _len * ozone->fonts.footer.glyph_width; + label->width = (int)(_len * ozone->fonts.footer.glyph_width); } /* Assigns footer label strings (based on current