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/filter-option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter/filter-option.c') 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