From 4062a4d392b0eb2b4055015f91fca59cb7aca456 Mon Sep 17 00:00:00 2001
From: TrueCat17 <[EMAIL REDACTED]>
Date: Sun, 16 Jan 2022 12:21:59 +0300
Subject: [PATCH] \#206, fix type uint8_t -> Uint8
---
IMG_png.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/IMG_png.c b/IMG_png.c
index 8ae48d3..a7a098b 100644
--- a/IMG_png.c
+++ b/IMG_png.c
@@ -513,7 +513,7 @@ static int IMG_SavePNG_RW_libpng(SDL_Surface *surface, SDL_RWops *dst, int freed
png_structp png_ptr;
png_infop info_ptr;
png_colorp color_ptr = NULL;
- uint8_t transparent_table[256];
+ Uint8 transparent_table[256];
SDL_Surface *source = surface;
SDL_Palette *palette;
int png_color_type = PNG_COLOR_TYPE_RGB_ALPHA;