(360) Build fixes

This commit is contained in:
twinaphex 2013-11-01 17:16:02 +01:00
parent a682319eee
commit ed1b012250
2 changed files with 3 additions and 3 deletions

View File

@ -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';

View File

@ -21,7 +21,7 @@
#include "rmenu_xui.h"
#include "utils/file_browser.h"
#include "file_browser.h"
#include "../../console/rarch_console.h"