From 3d72119dd462a82e7c253430a3ef8d1f104cdce2 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 26 Nov 2018 01:51:09 -0500 Subject: mpegplayer fix warnings this should fix 'warning: cast between incompatible function types' Change-Id: I7d192b8953fd14511431cb50254900f566eb0574 --- apps/plugins/mpegplayer/disk_buf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/mpegplayer/disk_buf.c') 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 */ -- cgit v1.2.3