SDL: Fixed signed/unsigned comparison warning (da027)

From da027ec3eed68ffe40b26ff843004b25a3e109bd Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 19 Mar 2024 17:00:46 -0700
Subject: [PATCH] Fixed signed/unsigned comparison warning

---
 src/camera/mediafoundation/SDL_camera_mediafoundation.c | 3 ++-
 src/render/SDL_render.c                                 | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/camera/mediafoundation/SDL_camera_mediafoundation.c b/src/camera/mediafoundation/SDL_camera_mediafoundation.c
index 972bd6e0c8094..86d500592a3e9 100644
--- a/src/camera/mediafoundation/SDL_camera_mediafoundation.c
+++ b/src/camera/mediafoundation/SDL_camera_mediafoundation.c
@@ -105,7 +105,8 @@ static SDL_PixelFormatEnum MFVidFmtGuidToSDLFmt(const GUID *guid)
     return SDL_PIXELFORMAT_UNKNOWN;
 }
 
-static const GUID *SDLFmtToMFVidFmtGuid(Uint32 sdlfmt) {
+static const GUID *SDLFmtToMFVidFmtGuid(SDL_PixelFormatEnum sdlfmt)
+{
     for (size_t i = 0; i < SDL_arraysize(fmtmappings); i++) {
         if (fmtmappings[i].sdlfmt == sdlfmt) {
             return fmtmappings[i].guid;
diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c
index ac0b16423b6bf..5c1bba0b90a01 100644
--- a/src/render/SDL_render.c
+++ b/src/render/SDL_render.c
@@ -1185,7 +1185,7 @@ static SDL_bool IsSupportedBlendMode(SDL_Renderer *renderer, SDL_BlendMode blend
     }
 }
 
-static SDL_bool IsSupportedFormat(SDL_Renderer *renderer, Uint32 format)
+static SDL_bool IsSupportedFormat(SDL_Renderer *renderer, SDL_PixelFormatEnum format)
 {
     int i;
 
@@ -1197,7 +1197,7 @@ static SDL_bool IsSupportedFormat(SDL_Renderer *renderer, Uint32 format)
     return SDL_FALSE;
 }
 
-static Uint32 GetClosestSupportedFormat(SDL_Renderer *renderer, Uint32 format)
+static Uint32 GetClosestSupportedFormat(SDL_Renderer *renderer, SDL_PixelFormatEnum format)
 {
     int i;