mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-10 13:42:23 +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
|
/* HACK - we have to find some way to pass state inbetween
|
||||||
* function pointer callback functions that don't necessarily
|
* function pointer callback functions that don't necessarily
|
||||||
* call each other. */
|
* call each other. */
|
||||||
static char core_manager_path[PATH_MAX_LENGTH];
|
|
||||||
static void *core_manager_list_data;
|
static void *core_manager_list_data;
|
||||||
static char core_manager_list_path[PATH_MAX_LENGTH];
|
static char core_manager_list_path[PATH_MAX_LENGTH];
|
||||||
static char core_manager_list_label[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)
|
if (state->bodytype == t_full)
|
||||||
{
|
{
|
||||||
state->part = p_done;
|
state->part = p_done;
|
||||||
state->data = realloc(state->data, state->len);
|
state->data = (char*)realloc(state->data, state->len);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
goto fail;
|
goto fail;
|
||||||
@ -413,7 +413,7 @@ parse_again:
|
|||||||
{
|
{
|
||||||
state->part = p_done;
|
state->part = p_done;
|
||||||
state->len = state->pos;
|
state->len = state->pos;
|
||||||
state->data = realloc(state->data, state->len);
|
state->data = (char*)realloc(state->data, state->len);
|
||||||
}
|
}
|
||||||
goto parse_again;
|
goto parse_again;
|
||||||
}
|
}
|
||||||
@ -443,7 +443,7 @@ parse_again:
|
|||||||
if (state->pos == state->len)
|
if (state->pos == state->len)
|
||||||
{
|
{
|
||||||
state->part=p_done;
|
state->part=p_done;
|
||||||
state->data = realloc(state->data, state->len);
|
state->data = (char*)realloc(state->data, state->len);
|
||||||
}
|
}
|
||||||
if (state->pos > state->len)
|
if (state->pos > state->len)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user