mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
(libretro-db) Buildfix
This commit is contained in:
parent
3591e4a308
commit
29b3045d7c
@ -82,7 +82,7 @@ int libretrodb_create(int fd, libretrodb_value_provider value_provider,
|
|||||||
libretrodb_metadata_t md;
|
libretrodb_metadata_t md;
|
||||||
uint64_t item_count = 0;
|
uint64_t item_count = 0;
|
||||||
struct rmsgpack_dom_value item = {0};
|
struct rmsgpack_dom_value item = {0};
|
||||||
libretrodb_header_t header = {0};
|
libretrodb_header_t header = {{0}};
|
||||||
|
|
||||||
memcpy(header.magic_number, MAGIC_NUMBER, sizeof(MAGIC_NUMBER)-1);
|
memcpy(header.magic_number, MAGIC_NUMBER, sizeof(MAGIC_NUMBER)-1);
|
||||||
root = lseek(fd, 0, SEEK_CUR);
|
root = lseek(fd, 0, SEEK_CUR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user