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

noreply at xfce.org noreply at xfce.org
Tue Apr 16 04:40:42 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/libxfce4util.

commit 27cc4d52f76a2470b1fb834f1588c1b9d28c5eb8
Author: Andre Miranda <andreldm at xfce.org>
Date:   Mon Apr 15 23:40:33 2019 -0300

    Fix compiler error -Wcast-function-type (GCC 8)
---
 libxfce4util/xfce-rc-config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libxfce4util/xfce-rc-config.c b/libxfce4util/xfce-rc-config.c
index b15baf0..b7d6846 100644
--- a/libxfce4util/xfce-rc-config.c
+++ b/libxfce4util/xfce-rc-config.c
@@ -193,7 +193,7 @@ _xfce_rc_config_close (XfceRc *rc)
 {
   XfceRcConfig *config = XFCE_RC_CONFIG (rc);
 
-  g_slist_foreach (config->rclist, (GFunc) xfce_rc_close, NULL);
+  g_slist_foreach (config->rclist, (GFunc) (void (*)(void)) xfce_rc_close, NULL);
   g_slist_free (config->rclist);
 }
 

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


More information about the Xfce4-commits mailing list