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:
Tor Lillqvist
2009-01-11 20:09:36 +00:00
committed by Tor Lillqvist
parent ac644ffd9b
commit e29a17618e
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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);