Silence a shorten-64-to-32 warning

The result of this multiplication will fit into a 32-bit int.
This commit is contained in:
pstef 2025-04-10 16:06:59 +00:00
parent 5710a7f6e5
commit 317c80a257
1 changed files with 1 additions and 1 deletions

View File

@ -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