mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-26 04:36:01 +00:00
(input/overlay.c) input_overlay_resolve_targets - do explicit cast
This commit is contained in:
parent
860c9c5750
commit
705c542911
@ -375,6 +375,7 @@ static bool input_overlay_load_overlay(input_overlay_t *ol,
|
||||
|
||||
snprintf(overlay_path_key, sizeof(overlay_path_key),
|
||||
"overlay%u_overlay", index);
|
||||
|
||||
if (config_get_path(conf, overlay_path_key,
|
||||
overlay_path, sizeof(overlay_path)))
|
||||
{
|
||||
@ -527,7 +528,7 @@ static bool input_overlay_resolve_targets(struct overlay *ol,
|
||||
size_t index, size_t size)
|
||||
{
|
||||
size_t i;
|
||||
struct overlay *current = &ol[index];
|
||||
struct overlay *current = (struct overlay*)&ol[index];
|
||||
|
||||
for (i = 0; i < current->size; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user