SDL_ttf: fixed several -Wzero-as-null-pointer-constant warnings from gcc-15

From 731d75a685fddb0a121471d883a736d982d03d88 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 17 Nov 2025 22:25:10 +0300
Subject: [PATCH] fixed several -Wzero-as-null-pointer-constant warnings from
 gcc-15

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

diff --git a/src/SDL_ttf.c b/src/SDL_ttf.c
index a34e8478..ce4fe6bb 100644
--- a/src/SDL_ttf.c
+++ b/src/SDL_ttf.c
@@ -2120,7 +2120,7 @@ TTF_Font *TTF_OpenFontWithProperties(SDL_PropertiesID props)
     font->face_index = face_index;
 
     // Set charmap for loaded font
-    found = 0;
+    found = NULL;
 #if 0 // Font debug code
     for (i = 0; i < face->num_charmaps; i++) {
         FT_CharMap charmap = face->charmaps[i];
@@ -2660,7 +2660,7 @@ static bool Load_Glyph(TTF_Font *font, c_glyph *cached, int want, int translatio
             }
 
             // Render the glyph
-            error = FT_Glyph_To_Bitmap(&glyph, ft_render_mode, 0, 1);
+            error = FT_Glyph_To_Bitmap(&glyph, ft_render_mode, NULL, 1);
             if (error) {
                 FT_Done_Glyph(glyph);
                 return TTF_SetFTError("FT_Glyph_To_Bitmap() failed", error);
@@ -6202,4 +6202,3 @@ int TTF_WasInit(void)
 {
     return SDL_GetAtomicInt(&TTF_state.refcount);
 }
-