From e09ed4578563b9c094cb68d772b36bc77df027a7 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Fri, 12 Jan 2024 16:50:38 +0100
Subject: [PATCH] Add spaces around SDL_PRIu32 to avoid potential compiler
warnings
---
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 321fd886..606fbe4b 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 (%"SDL_PRIu32")", head->image_type);
+ IMG_SetError("Unknown Gimp image type (%" SDL_PRIu32 ")", 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 (%"SDL_PRIu32")\n", head->image_type);
+ IMG_SetError("Unknown Gimp image type (%" SDL_PRIu32 ")\n", head->image_type);
if (tile)
free_xcf_tile(tile);
if (level)