Add cast to avoid warning.
2009-01-11 Tor Lillqvist <tml@novell.com> * filter-option.c (get_dynamic_options): Add cast to avoid warning. svn path=/trunk/; revision=37040
This commit is contained in:
committed by
Tor Lillqvist
parent
ac644ffd9b
commit
e29a17618e
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user