SDL_image: xcf: use SDL_PRIu32 for formatting image_type for IMG_SetError

From cf48c861ac837728357f5903929e432aedf0fce5 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Fri, 12 Jan 2024 16:37:14 +0100
Subject: [PATCH] xcf: use SDL_PRIu32 for formatting image_type for
 IMG_SetError

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

diff --git a/src/IMG_xcf.c b/src/IMG_xcf.c
index b8dc25fd..95846f28 100644
--- a/src/IMG_xcf.c
+++ b/src/IMG_xcf.c
@@ -826,7 +826,7 @@ do_layer_surface(SDL_Surface *surface, SDL_RWops *src, xcf_header *head, xcf_lay
                         }
                         break;
                     default:
-                        IMG_SetError("Unknown Gimp image type (%u)", head->image_type);
+                        IMG_SetError("Unknown Gimp image type (%"SDL_PRIs32")", head->image_type);
                         if (hierarchy) {
                             free_xcf_hierarchy(hierarchy);
                         }
@@ -857,7 +857,7 @@ do_layer_surface(SDL_Surface *surface, SDL_RWops *src, xcf_header *head, xcf_lay
                         }
                         break;
                     default:
-                        IMG_SetError("Unknown Gimp image type (%d)\n", head->image_type);
+                        IMG_SetError("Unknown Gimp image type (%"SDL_PRIs32")\n", head->image_type);
                         if (tile)
                             free_xcf_tile(tile);
                         if (level)