SDL: Fixed signed/unsigned comparison warning (086a7)

From 086a7a468738c915f48dab940482cfe0dec1b57a Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 18 Mar 2024 09:48:45 -0700
Subject: [PATCH] Fixed signed/unsigned comparison warning

---
 src/file/SDL_iostream.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/file/SDL_iostream.c b/src/file/SDL_iostream.c
index f40408222b45e..d2fd86ade0690 100644
--- a/src/file/SDL_iostream.c
+++ b/src/file/SDL_iostream.c
@@ -784,8 +784,8 @@ static int dynamic_mem_realloc(IOStreamDynamicMemData *iodata, size_t size)
 static size_t SDLCALL dynamic_mem_write(void *userdata, const void *ptr, size_t size, SDL_IOStatus *status)
 {
     IOStreamDynamicMemData *iodata = (IOStreamDynamicMemData *) userdata;
-    if (size > (iodata->data.stop - iodata->data.here)) {
-        if (size > (iodata->end - iodata->data.here)) {
+    if (size > (size_t)(iodata->data.stop - iodata->data.here)) {
+        if (size > (size_t)(iodata->end - iodata->data.here)) {
             if (dynamic_mem_realloc(iodata, size) < 0) {
                 return 0;
             }