mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
Fixed RFILE var declaration to C89 standard
This commit is contained in:
parent
2b308d75b8
commit
15af8f0d98
@ -1507,11 +1507,11 @@ void rarch_playlist_load_content(void *data, unsigned idx)
|
|||||||
|
|
||||||
if (strstr(path_tolower, ".zip"))
|
if (strstr(path_tolower, ".zip"))
|
||||||
{
|
{
|
||||||
*(strstr(path_tolower, ".zip") + 4) = '\0';
|
strstr(path_tolower, ".zip")[4] = '\0';
|
||||||
}
|
}
|
||||||
else if (strstr(path_tolower, ".7z"))
|
else if (strstr(path_tolower, ".7z"))
|
||||||
{
|
{
|
||||||
*(strstr(path_tolower, ".7z") + 3) = '\0';
|
*(strstr(path_tolower, ".7z")[3] = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
path_check = (char *)calloc(strlen(path_tolower) + 1, sizeof(char));
|
path_check = (char *)calloc(strlen(path_tolower) + 1, sizeof(char));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user