Merge pull request #6449 from markwkidd/core-association-warning

Core association warning
This commit is contained in:
Twinaphex 2018-03-24 15:19:59 +01:00 committed by GitHub
commit 1818552aeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -2338,10 +2338,11 @@ TODO: Add a setting for these tweaks */
core_name = "DETECT";
core_path = "DETECT";
size_t *playlist_index = (size_t *)data;
command_playlist_update_write(
NULL,
(size_t)data,
*playlist_index,
NULL,
NULL,
core_path,

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;
}