(libretro-db) Should fix buffer overflow - should fix Database

Information and Scan folder/File with GCC 10
This commit is contained in:
twinaphex 2020-06-14 18:03:00 +02:00
parent 1099b58793
commit 685948368e

View File

@ -75,7 +75,7 @@ typedef struct libretrodb_metadata
typedef struct libretrodb_header
{
char magic_number[sizeof(MAGIC_NUMBER)-1];
char magic_number[sizeof(MAGIC_NUMBER)];
uint64_t metadata_offset;
} libretrodb_header_t;