Skip to content

Commit

Permalink
Fixed signed comparison warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 11, 2023
1 parent 6783781 commit 9f360b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDL_ttf.c
Expand Up @@ -3377,7 +3377,7 @@ static int TTF_Size_Internal(TTF_Font *font,
}
if (count) {
#if TTF_USE_HARFBUZZ
if (char_count == glyph_count) {
if ((unsigned int)char_count == glyph_count) {
/* The higher level code doesn't know about ligatures,
* so if we've covered all the glyphs, report the full
* string length.
Expand Down

0 comments on commit 9f360b6

Please sign in to comment.