summaryrefslogtreecommitdiffstats
path: root/apps/plugins/mpegplayer/disk_buf.c
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-11-26 01:51:09 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2018-11-26 01:51:09 -0500
commit3d72119dd462a82e7c253430a3ef8d1f104cdce2 (patch)
tree5b0a7ef62ffa7259cdbc0042d29d087a7567ff82 /apps/plugins/mpegplayer/disk_buf.c
parent9ed486bdc747b505a5b7b868c363dcff3e718a0d (diff)
downloadrockbox-3d72119dd462a82e7c253430a3ef8d1f104cdce2.tar.gz
rockbox-3d72119dd462a82e7c253430a3ef8d1f104cdce2.zip
mpegplayer fix warnings
this should fix 'warning: cast between incompatible function types' Change-Id: I7d192b8953fd14511431cb50254900f566eb0574
Diffstat (limited to 'apps/plugins/mpegplayer/disk_buf.c')
-rw-r--r--apps/plugins/mpegplayer/disk_buf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/disk_buf.c b/apps/plugins/mpegplayer/disk_buf.c
index b78407b9db..50c4222192 100644
--- a/apps/plugins/mpegplayer/disk_buf.c
+++ b/apps/plugins/mpegplayer/disk_buf.c
@@ -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 */