summary refs log tree commit diff stats
path: root/src/common/util.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-14 16:52:16 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-14 16:52:16 +0200
commit947dd452942288aee8e109e3cb3e8b121146725b (patch)
tree8a3c61612dd392a450ceba6f842ae84812d6b4ad /src/common/util.c
parenta435e8648fa16c8f661626b055e0e6626bf26460 (diff)
Fix warnings
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 29a0f3ed..a6c9fe21 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1886,7 +1886,7 @@ int main (int argc, char *argv[])
 	list = get_subdirs ("foo");
 	display_list (list);
 #if GLIB_CHECK_VERSION(2,28,0)
-	g_slist_free_full (list, (GFunc) g_free);
+	g_slist_free_full (list, (GDestroyNotify) g_free);
 #else
 	g_slist_foreach (list, (GFunc) g_free, NULL);
 	g_slist_free (list);