(libretrodb.c) Buildfix

This commit is contained in:
twinaphex 2015-06-26 20:07:46 +02:00
parent 6ad1ebcd2a
commit 6a49dcfdd6

View File

@ -86,9 +86,9 @@ int libretrodb_create(FILE *fp, libretrodb_value_provider value_provider,
int rv;
off_t root;
libretrodb_metadata_t md;
uint64_t item_count = 0;
uint64_t item_count = 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);
root = flseek(fp, 0, SEEK_CUR);