Skip to content

Commit 7ca3a78

Browse files
SiegeLordExSiegeLord
authored andcommitted
Fix unsized/sized warning.
1 parent 2025213 commit 7ca3a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/ttf/ttf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ static bool ttf_get_glyph(ALLEGRO_FONT const *f, int prev_codepoint, int codepoi
548548
{
549549
ALLEGRO_TTF_FONT_DATA *data = f->data;
550550
FT_Face face = data->face;
551-
int prev_ft_index = (prev_codepoint == -1) ? -1 : FT_Get_Char_Index(face, prev_codepoint);
551+
int prev_ft_index = (prev_codepoint == -1) ? -1 : (int)FT_Get_Char_Index(face, prev_codepoint);
552552
int ft_index = FT_Get_Char_Index(face, codepoint);
553553
return ttf_get_glyph_worker(f, prev_ft_index, ft_index, prev_codepoint, codepoint, glyph);
554554
}

0 commit comments

Comments
 (0)