From e29a17618e113bc681ad122302c646fb9fd6dec8 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 11 Jan 2009 20:09:36 +0000 Subject: Add cast to avoid warning. 2009-01-11 Tor Lillqvist * filter-option.c (get_dynamic_options): Add cast to avoid warning. svn path=/trunk/; revision=37040 --- filter/ChangeLog | 5 +++++ filter/filter-option.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/filter/ChangeLog b/filter/ChangeLog index 9402e27b98..a30463deb5 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,8 @@ +2009-01-11 Tor Lillqvist + + * filter-option.c (get_dynamic_options): Add cast to avoid + warning. + 2009-01-11 Tor Lillqvist ** Bug #567244 diff --git a/filter/filter-option.c b/filter/filter-option.c index 0ec6dfeffb..7af511b543 100644 --- a/filter/filter-option.c +++ b/filter/filter-option.c @@ -361,7 +361,7 @@ get_dynamic_options (FilterOption *fo) module = g_module_open (NULL, G_MODULE_BIND_LAZY); - if (g_module_symbol (module, fo->dynamic_func, &get_func)) { + if (g_module_symbol (module, fo->dynamic_func, (gpointer) &get_func)) { res = get_func (); } else { g_warning ("optionlist dynamic fill function '%s' not found", fo->dynamic_func); -- cgit v1.2.3