mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Try to silence libnx warning (-Wstringop-overflow)
This commit is contained in:
parent
83ce4259a0
commit
522dd72bd0
@ -266,9 +266,9 @@ static uint8_t *rtga_tga_load(rtga_context *s,
|
||||
int RLE_repeating = 0;
|
||||
int RLE_count = 0;
|
||||
int read_next_pixel = 1;
|
||||
/* Needs to be at least 24 bytes to silence a GCC warning,
|
||||
/* Needs to be at least 32 bytes to silence a GCC warning,
|
||||
* only 4 are actually used */
|
||||
unsigned char raw_data[24] = {0};
|
||||
unsigned char raw_data[32] = {0};
|
||||
unsigned char *tga_palette = NULL;
|
||||
|
||||
/* Do I need to load a palette? */
|
||||
|
Loading…
x
Reference in New Issue
Block a user