cast and dereference pointer without compiler warn

This commit is contained in:
markwkidd 2018-03-24 10:16:34 -04:00
parent b984abb371
commit 007829654e

View File

@ -2875,7 +2875,7 @@ static int action_ok_reset_core_association(const char *path,
playlist_get_index(tmp_playlist,
rpl_entry_selection_ptr, &tmp_path, NULL, NULL, NULL, NULL, NULL);
if (!command_event(CMD_EVENT_RESET_CORE_ASSOCIATION, (void *)rpl_entry_selection_ptr))
if (!command_event(CMD_EVENT_RESET_CORE_ASSOCIATION, (void *)&rpl_entry_selection_ptr))
return menu_cbs_exit();
return 0;
}