mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(MSVC) Build fixes
This commit is contained in:
parent
1a9f449362
commit
aeab1a831c
@ -2280,7 +2280,6 @@ static void print_buf_lines(file_list_t *list, char *buf, int buf_size,
|
||||
/* HACK - we have to find some way to pass state inbetween
|
||||
* function pointer callback functions that don't necessarily
|
||||
* call each other. */
|
||||
static char core_manager_path[PATH_MAX_LENGTH];
|
||||
static void *core_manager_list_data;
|
||||
static char core_manager_list_path[PATH_MAX_LENGTH];
|
||||
static char core_manager_list_label[PATH_MAX_LENGTH];
|
||||
|
@ -360,7 +360,7 @@ bool net_http_update(http_t *state, size_t* progress, size_t* total)
|
||||
if (state->bodytype == t_full)
|
||||
{
|
||||
state->part = p_done;
|
||||
state->data = realloc(state->data, state->len);
|
||||
state->data = (char*)realloc(state->data, state->len);
|
||||
}
|
||||
else
|
||||
goto fail;
|
||||
@ -413,7 +413,7 @@ parse_again:
|
||||
{
|
||||
state->part = p_done;
|
||||
state->len = state->pos;
|
||||
state->data = realloc(state->data, state->len);
|
||||
state->data = (char*)realloc(state->data, state->len);
|
||||
}
|
||||
goto parse_again;
|
||||
}
|
||||
@ -443,7 +443,7 @@ parse_again:
|
||||
if (state->pos == state->len)
|
||||
{
|
||||
state->part=p_done;
|
||||
state->data = realloc(state->data, state->len);
|
||||
state->data = (char*)realloc(state->data, state->len);
|
||||
}
|
||||
if (state->pos > state->len)
|
||||
goto fail;
|
||||
|
Loading…
x
Reference in New Issue
Block a user