mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-10 05:33:14 +00:00
CXX_BUILD fix
This commit is contained in:
parent
0731bbb81c
commit
3f27e5d7bb
@ -2087,7 +2087,7 @@ static void frontend_unix_exec(const char *path, bool should_load_game)
|
||||
char *newargv[] = { NULL, NULL };
|
||||
size_t len = strlen(path);
|
||||
|
||||
newargv[0] = malloc(len);
|
||||
newargv[0] = (char*)malloc(len);
|
||||
|
||||
strlcpy(newargv[0], path, len);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user