From 27ad653dbd63f8a49bc19076e65c7ff97ae852ce Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Thu, 23 Feb 2023 17:11:26 +0100 Subject: [PATCH] Fixed another CXX_BUILD error --- libretro-common/file/file_path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/file/file_path.c b/libretro-common/file/file_path.c index 10443cff30..19b649849e 100644 --- a/libretro-common/file/file_path.c +++ b/libretro-common/file/file_path.c @@ -228,7 +228,7 @@ const char *path_get_extension(const char *path) char *path_get_extension_mutable(const char *path) { char *ext = NULL; - if (!string_is_empty(path) && ((ext = strrchr(path_basename(path), '.')))) + if (!string_is_empty(path) && ((ext = (char*)strrchr(path_basename(path), '.')))) return ext; return NULL; }