aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2009-01-12 04:09:36 +0800
committerTor Lillqvist <tml@src.gnome.org>2009-01-12 04:09:36 +0800
commite29a17618e113bc681ad122302c646fb9fd6dec8 (patch)
tree9e6b5ec0b6d558f065ca1222d4b93a562b9936fd
parentac644ffd9b322148b641a4046f7d7870a7b36d16 (diff)
downloadgsoc2013-evolution-e29a17618e113bc681ad122302c646fb9fd6dec8.tar
gsoc2013-evolution-e29a17618e113bc681ad122302c646fb9fd6dec8.tar.gz
gsoc2013-evolution-e29a17618e113bc681ad122302c646fb9fd6dec8.tar.bz2
gsoc2013-evolution-e29a17618e113bc681ad122302c646fb9fd6dec8.tar.lz
gsoc2013-evolution-e29a17618e113bc681ad122302c646fb9fd6dec8.tar.xz
gsoc2013-evolution-e29a17618e113bc681ad122302c646fb9fd6dec8.tar.zst
gsoc2013-evolution-e29a17618e113bc681ad122302c646fb9fd6dec8.zip
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
-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);