mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-11 20:44:24 +00:00
(360) Build fixes
This commit is contained in:
parent
a682319eee
commit
ed1b012250
@ -288,7 +288,7 @@ const char *path_get_extension(const char *path)
|
||||
|
||||
char *path_remove_extension(char *path)
|
||||
{
|
||||
char *last = strrchr(path_basename(path), '.');
|
||||
char *last = (char*)strrchr(path_basename(path), '.');
|
||||
if (*last)
|
||||
*last = '\0';
|
||||
return last;
|
||||
@ -516,7 +516,7 @@ void fill_pathname(char *out_path, const char *in_path, const char *replace, siz
|
||||
char tmp_path[PATH_MAX];
|
||||
|
||||
rarch_assert(strlcpy(tmp_path, in_path, sizeof(tmp_path)) < sizeof(tmp_path));
|
||||
char *tok = strrchr(path_basename(tmp_path), '.');
|
||||
char *tok = (char*)strrchr(path_basename(tmp_path), '.');
|
||||
if (tok)
|
||||
*tok = '\0';
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include "rmenu_xui.h"
|
||||
|
||||
#include "utils/file_browser.h"
|
||||
#include "file_browser.h"
|
||||
|
||||
#include "../../console/rarch_console.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user