SDL_image: Fixed signed/unsigned comparison

From e60f89a93956ea0f3eb5f89506571a6f3485dc8c Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 21 Aug 2026 11:04:01 -0700
Subject: [PATCH] Fixed signed/unsigned comparison

---
 src/IMG_xcf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/IMG_xcf.c b/src/IMG_xcf.c
index d8e6b7d95..c3472bde3 100644
--- a/src/IMG_xcf.c
+++ b/src/IMG_xcf.c
@@ -605,7 +605,7 @@ static unsigned char *load_xcf_tile_none (SDL_IOStream *src, size_t len, int bpp
 {
     unsigned char *load = NULL;
 
-    if (len < (x * y * bpp)) {
+    if (len < (size_t)(x * y * bpp)) {
         SDL_SetError("Gimp image invalid tile offsets");
         return NULL;
     }