From 34636ed9f0c221fb12e896cb9a8f9881cbf43516 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 3 Feb 2021 10:58:28 +0100 Subject: [PATCH] (RTGA) Silence long-standing warning --- libretro-common/formats/tga/rtga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/formats/tga/rtga.c b/libretro-common/formats/tga/rtga.c index 7271f7b31f..456dcdb6a6 100644 --- a/libretro-common/formats/tga/rtga.c +++ b/libretro-common/formats/tga/rtga.c @@ -266,7 +266,7 @@ static uint8_t *rtga_tga_load(rtga_context *s, int RLE_repeating = 0; int RLE_count = 0; int read_next_pixel = 1; - unsigned char raw_data[4] = {0}; + unsigned char raw_data[32] = {0}; unsigned char *tga_palette = NULL; /* Do I need to load a palette? */