Skip to content

Commit

Permalink
Add spaces around SDL_PRIu32 to avoid potential compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Jan 12, 2024
1 parent 35997c1 commit e09ed45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IMG_xcf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e09ed45

Please sign in to comment.