From f43fb7da0f7a4d37180e00132b83e10179c6aec6 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 6 Jan 2018 03:44:27 +0100 Subject: msd-mpris-manager.c: Fix build warning: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit passing argument 3 of ‘g_queue_find_custom’ from incompatible pointer type --- plugins/mpris/msd-mpris-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mpris') diff --git a/plugins/mpris/msd-mpris-manager.c b/plugins/mpris/msd-mpris-manager.c index 35f26db..ea61125 100644 --- a/plugins/mpris/msd-mpris-manager.c +++ b/plugins/mpris/msd-mpris-manager.c @@ -144,7 +144,7 @@ mp_name_vanished (GDBusConnection *connection, player_name = get_player_name(name); player_list = g_queue_find_custom (manager->priv->media_player_queue, - player_name, g_strcmp0); + player_name, (GCompareFunc) g_strcmp0); if (player_list) g_queue_remove (manager->priv->media_player_queue, player_list->data); -- cgit v1.2.1