mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
CXX_BUILD buildfixes
This commit is contained in:
parent
32962dfc99
commit
4fa19e552a
2 changed files with 2 additions and 2 deletions
|
@ -208,7 +208,7 @@ const char *path_get_archive_delim(const char *path)
|
|||
const char *path_get_extension(const char *path)
|
||||
{
|
||||
const char *ext;
|
||||
if (!string_is_empty(path) && ((ext = strrchr(path_basename(path), '.'))))
|
||||
if (!string_is_empty(path) && ((ext = (char*)strrchr(path_basename(path), '.'))))
|
||||
return ext + 1;
|
||||
return "";
|
||||
}
|
||||
|
|
|
@ -734,7 +734,7 @@ static int database_info_list_iterate_found_match(
|
|||
strlcpy(entry_label, db_info_entry->name, str_len);
|
||||
else if (!string_is_empty(entry_path))
|
||||
{
|
||||
char *delim = strchr(entry_path, '#');
|
||||
char *delim = (char*)strchr(entry_path, '#');
|
||||
|
||||
if (delim)
|
||||
*delim = '\0';
|
||||
|
|
Loading…
Add table
Reference in a new issue