From 064e6a70bc75e218b22714349df57c15f5673105 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 16 May 2016 17:01:31 +0200 Subject: [PATCH] Cleanup --- menu/menu_content.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/menu/menu_content.c b/menu/menu_content.c index 42084aaa6e..c193756d54 100644 --- a/menu/menu_content.c +++ b/menu/menu_content.c @@ -45,15 +45,13 @@ * * Initializes core and loads content based on playlist entry. **/ -static bool menu_content_load_from_playlist(void *data) +static bool menu_content_load_from_playlist(menu_content_ctx_playlist_info_t *info) { unsigned idx; - playlist_t *playlist = NULL; - const char *core_path = NULL; - const char *path = NULL; + playlist_t *playlist = NULL; + const char *core_path = NULL; + const char *path = NULL; content_ctx_info_t content_info = {0}; - menu_content_ctx_playlist_info_t *info = - (menu_content_ctx_playlist_info_t *)data; if (!info) return false;