mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
CXX_BUILD buildfixes
This commit is contained in:
parent
32962dfc99
commit
4fa19e552a
@ -208,7 +208,7 @@ const char *path_get_archive_delim(const char *path)
|
|||||||
const char *path_get_extension(const char *path)
|
const char *path_get_extension(const char *path)
|
||||||
{
|
{
|
||||||
const char *ext;
|
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 ext + 1;
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
@ -734,7 +734,7 @@ static int database_info_list_iterate_found_match(
|
|||||||
strlcpy(entry_label, db_info_entry->name, str_len);
|
strlcpy(entry_label, db_info_entry->name, str_len);
|
||||||
else if (!string_is_empty(entry_path))
|
else if (!string_is_empty(entry_path))
|
||||||
{
|
{
|
||||||
char *delim = strchr(entry_path, '#');
|
char *delim = (char*)strchr(entry_path, '#');
|
||||||
|
|
||||||
if (delim)
|
if (delim)
|
||||||
*delim = '\0';
|
*delim = '\0';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user