aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-04-26 02:53:58 +0000
committerGuy Harris <guy@alum.mit.edu>2011-04-26 02:53:58 +0000
commitb6c370c994231a46afbdd21f11e6c8a3ba6178dc (patch)
treef873c2c45fb0a8373077251c4c031cb90b8c50e6 /color_filters.c
parent280fcc497fd88927471ef451ad034cd5ad2de73d (diff)
Get rid of a cast that was causing alignment warnings and that was bogus
anyway (the second argument to g_slist_find_custom is a gconstpointer, not a gpointer * or a gconstpointer *). svn path=/trunk/; revision=36863
Diffstat (limited to 'color_filters.c')
-rw-r--r--color_filters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/color_filters.c b/color_filters.c
index a37759333f..267a5ba6a5 100644
--- a/color_filters.c
+++ b/color_filters.c
@@ -166,7 +166,7 @@ color_filters_set_tmp(guint8 filt_nr, gchar *filter, gboolean disabled)
continue;
name = g_strdup_printf("%s%02d",TEMP_COLOR_PREFIX,i);
- cfl = g_slist_find_custom(color_filter_list, (gpointer *) name, color_filters_find_by_name_cb);
+ cfl = g_slist_find_custom(color_filter_list, name, color_filters_find_by_name_cb);
colorf = (color_filter_t *)cfl->data;
/* Only change the filter rule if this is the rule to change or if