diff --git a/retroarch.c b/retroarch.c index d373c86a76..0d1b7ba2d7 100644 --- a/retroarch.c +++ b/retroarch.c @@ -1511,7 +1511,7 @@ void rarch_playlist_load_content(void *data, unsigned idx) } 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));