Get rid of some more useless casts

This commit is contained in:
twinaphex 2015-05-24 05:10:09 +02:00
parent 9326d9c27c
commit be6ce5fb34
2 changed files with 2 additions and 3 deletions

View file

@ -42,7 +42,7 @@ static void find_first_libretro_core(char *first_file,
RARCH_LOG("Searching for valid libretro implementation in: \"%s\".\n",
dir);
list = (struct string_list*)dir_list_new(dir, ext, false);
list = dir_list_new(dir, ext, false);
if (!list)
{
RARCH_ERR("Couldn't read directory. Cannot infer default libretro core.\n");

View file

@ -1326,8 +1326,7 @@ static void menu_displaylist_push_horizontal_menu_list_content(
if (!info)
return;
str_list = (struct string_list*)dir_list_new(path,
info->supported_extensions, true);
str_list = dir_list_new(path, info->supported_extensions, true);
if (!str_list)
return;