Try to fix the build bou by copying tha cast made in glib.

Change-Id: I6da06b8e6ae272b940ef4ee47ce6b253bf9f3699
Reviewed-on: https://code.wireshark.org/review/9961
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
AndersBroman 2015-08-10 13:19:25 +02:00 committed by Anders Broman
parent e1003ee753
commit 94bb2765e8
1 changed files with 1 additions and 1 deletions

View File

@ -1968,7 +1968,7 @@ static void free_keyring_val(gpointer a)
#if GLIB_CHECK_VERSION(2, 28, 0)
g_slist_free_full(*slist, g_free);
#else
g_slist_foreach(*slist, g_free, NULL);
g_slist_foreach(*slist, (GFunc)g_free, NULL);
g_slist_free(*slist);
#endif /* GLIB_CHECK_VERSION(2, 28, 0) */
g_free(slist);