1
0
Fork 0
forked from len0rd/rockbox

mpegplayer fix warnings

this should fix 'warning: cast between incompatible function types'

Change-Id: I7d192b8953fd14511431cb50254900f566eb0574
This commit is contained in:
William Wilgus 2018-11-26 01:51:09 -05:00
parent 9ed486bdc7
commit 3d72119dd4
4 changed files with 13 additions and 11 deletions

View file

@ -108,7 +108,7 @@ static int disk_buf_on_data_notify(struct stream_hdr *sh)
return DISK_BUF_NOTIFY_ERROR;
}
static bool check_data_notifies_callback(struct stream_hdr *sh, intptr_t data)
static bool check_data_notifies_callback(struct stream_hdr *sh, void *data)
{
if (disk_buf_is_data_ready(sh, 0))
{
@ -130,7 +130,7 @@ static inline void check_data_notifies(void)
{
list_enum_items(nf_list,
(list_enum_callback_t)check_data_notifies_callback,
0);
NULL);
}
/* Clear all registered notifications - do not post them */