aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-option.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 9402e27b98..a30463deb5 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,5 +1,10 @@
2009-01-11 Tor Lillqvist <tml@novell.com>
+ * filter-option.c (get_dynamic_options): Add cast to avoid
+ warning.
+
+2009-01-11 Tor Lillqvist <tml@novell.com>
+
** Bug #567244
* filter-option.c (get_dynamic_options): For portability, use
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);