aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-26 02:53:58 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-26 02:53:58 +0000
commitc37a05491d5ddac555925981af87ac0c06e78594 (patch)
treef873c2c45fb0a8373077251c4c031cb90b8c50e6 /color_filters.c
parentdfc4dc133d358e910bcaa51996bef1076eefc17f (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 *). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36863 f5534014-38df-0310-8fa8-9805f1628bb7
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