mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Fixed another CXX_BUILD error
This commit is contained in:
parent
4fa19e552a
commit
27ad653dbd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user