From 15af8f0d987478a3ae574b1a8783a4c7a7c5389c Mon Sep 17 00:00:00 2001 From: pyroesp Date: Thu, 22 Oct 2015 17:12:34 +0200 Subject: [PATCH] Fixed RFILE var declaration to C89 standard --- retroarch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroarch.c b/retroarch.c index a8cbf172b2..694fa43e90 100644 --- a/retroarch.c +++ b/retroarch.c @@ -1507,11 +1507,11 @@ void rarch_playlist_load_content(void *data, unsigned idx) if (strstr(path_tolower, ".zip")) { - *(strstr(path_tolower, ".zip") + 4) = '\0'; + strstr(path_tolower, ".zip")[4] = '\0'; } 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));