Skip to content

Commit

Permalink
change a type to make gcc happy
Browse files Browse the repository at this point in the history
Co-Authored-By: Viz <[email protected]>
  • Loading branch information
ab9rf and vizv committed Aug 29, 2024
1 parent 613f22d commit 036712f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/modules/Gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2562,7 +2562,7 @@ void Gui::MTB_set_width(df::markup_text_boxst *mtb, int32_t n_width)
continue;
}

size_t str_size = it[0]->str.size();
int32_t str_size = (int32_t)(it[0]->str.size());
if (n_width < str_size)
{
n_width = mtb->current_width;
Expand Down

0 comments on commit 036712f

Please sign in to comment.