SDL_ttf: Changed the style type in TTF_Font from Uint32 to TTF_FontStyleFlags

From f132b469385464fe1bd4e46f0b901b30ddff3839 Mon Sep 17 00:00:00 2001
From: Eduard Gushchin <[EMAIL REDACTED]>
Date: Sat, 28 Dec 2024 23:06:29 +0300
Subject: [PATCH] Changed the style type in TTF_Font from Uint32 to
 TTF_FontStyleFlags

---
 src/SDL_ttf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/SDL_ttf.c b/src/SDL_ttf.c
index c095733c..2b08ba25 100644
--- a/src/SDL_ttf.c
+++ b/src/SDL_ttf.c
@@ -247,7 +247,7 @@ struct TTF_Font {
     int lineskip;
 
     // The font style
-    Uint32 style;
+    TTF_FontStyleFlags style;
     int outline;
     FT_Stroker stroker;
 
@@ -4988,8 +4988,8 @@ bool TTF_GetFontDPI(TTF_Font *font, int *hdpi, int *vdpi)
 
 void TTF_SetFontStyle(TTF_Font *font, TTF_FontStyleFlags style)
 {
-    Uint32 prev_style;
-    long face_style;
+    TTF_FontStyleFlags prev_style;
+    TTF_FontStyleFlags face_style;
 
     TTF_CHECK_FONT(font,);