SDL: dialog: Use size_t for length variables (#9572)

From 9c65738926a231c0bb72360b5d449526e94b1d47 Mon Sep 17 00:00:00 2001
From: devon-artmeier <[EMAIL REDACTED]>
Date: Thu, 18 Apr 2024 12:09:10 -0400
Subject: [PATCH] dialog: Use size_t for length variables (#9572)

Shuts up a warning about size differences.
---
 src/dialog/SDL_dialog_utils.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/dialog/SDL_dialog_utils.c b/src/dialog/SDL_dialog_utils.c
index 962ec02fc1d05..875280f92da6d 100644
--- a/src/dialog/SDL_dialog_utils.c
+++ b/src/dialog/SDL_dialog_utils.c
@@ -33,7 +33,7 @@ char *convert_filters(const SDL_DialogFileFilter *filters, NameTransform ntf,
     char *new_combined;
     char *converted;
     const char *terminator;
-    int new_length;
+    size_t new_length;
 
     combined = SDL_strdup(prefix);
 
@@ -82,7 +82,7 @@ char *convert_filter(const SDL_DialogFileFilter filter, NameTransform ntf,
 {
     char *converted;
     char *name_filtered;
-    int total_length;
+    size_t total_length;
     char *list;
 
     list = convert_ext_list(filter.pattern, ext_prefix, ext_separator,
@@ -131,7 +131,7 @@ char *convert_ext_list(const char *list, const char *prefix,
 {
     char *converted;
     int semicolons;
-    int total_length;
+    size_t total_length;
 
     semicolons = 0;