[Xfce4-commits] [xfce/xfconf] 01/01: Fix compiler error -Wcast-function-type (GCC 8)

noreply at xfce.org noreply at xfce.org
Tue Apr 16 04:48:56 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfconf.

commit bd2b1e4980439cf7a2b06c0075311bd7262c90cb
Author: Andre Miranda <andreldm at xfce.org>
Date:   Mon Apr 15 23:48:49 2019 -0300

    Fix compiler error -Wcast-function-type (GCC 8)
---
 xfconf/xfconf-cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfconf/xfconf-cache.c b/xfconf/xfconf-cache.c
index 8a90150..d74f05e 100644
--- a/xfconf/xfconf-cache.c
+++ b/xfconf/xfconf-cache.c
@@ -390,7 +390,7 @@ xfconf_cache_init(XfconfCache *cache)
     cache->g_signal_id = g_signal_connect(gproxy, "g-signal",
                                           G_CALLBACK(xfconf_cache_proxy_signal_received_cb), cache);
 
-    cache->properties = g_tree_new_full((GCompareDataFunc)strcmp, NULL,
+    cache->properties = g_tree_new_full((GCompareDataFunc) (void (*)(void)) strcmp, NULL,
                                         (GDestroyNotify)g_free,
                                         (GDestroyNotify)xfconf_cache_item_free);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list