forked from len0rd/rockbox
mpegplayer fix warnings
this should fix 'warning: cast between incompatible function types' Change-Id: I7d192b8953fd14511431cb50254900f566eb0574
This commit is contained in:
parent
9ed486bdc7
commit
3d72119dd4
4 changed files with 13 additions and 11 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue