mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 17:04:34 +00:00
(MSVC/libretrodb) Build fixes
This commit is contained in:
parent
398a361e05
commit
b7a480afec
@ -28,10 +28,10 @@ struct node_iter_ctx
|
||||
|
||||
static struct rmsgpack_dom_value sentinal;
|
||||
|
||||
static inline off_t flseek(FILE *fp, off_t offset, int whence)
|
||||
static inline off_t flseek(FILE *fp, int offset, int whence)
|
||||
{
|
||||
fseeko(fp, offset, whence);
|
||||
return ftello(fp);
|
||||
fseek(fp, offset, whence);
|
||||
return ftell(fp);
|
||||
}
|
||||
|
||||
static int libretrodb_read_metadata(FILE *fp, libretrodb_metadata_t *md)
|
||||
@ -395,7 +395,7 @@ static int node_iter(void * value, void * ctx)
|
||||
|
||||
static uint64_t libretrodb_tell(libretrodb_t *db)
|
||||
{
|
||||
return ftello(db->fp);
|
||||
return ftell(db->fp);
|
||||
}
|
||||
|
||||
int libretrodb_create_index(libretrodb_t *db,
|
||||
|
@ -707,7 +707,7 @@ static struct buffer parse_table(struct buffer buff,
|
||||
unsigned i;
|
||||
const char *ident_name;
|
||||
size_t ident_len;
|
||||
struct argument args[MAX_ARGS] = {{0}};
|
||||
struct argument args[MAX_ARGS];
|
||||
unsigned argi = 0;
|
||||
|
||||
buff = chomp(buff);
|
||||
|
Loading…
x
Reference in New Issue
Block a user