aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/hostlist_table.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-17 13:19:44 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-17 13:19:44 +0000
commit6ae7b7f0bd55cd42859caba1dea0ce5230355ba4 (patch)
tree55390444ee8944a545ed43b6d157f3ad1c481db7 /gtk/hostlist_table.c
parent6f1e8f61489ccd2876c68ffb512613a97830df8f (diff)
Add the correct casts to make it compile on some old ERHL box.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37693 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/hostlist_table.c')
-rw-r--r--gtk/hostlist_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/hostlist_table.c b/gtk/hostlist_table.c
index d7fe9debd4..a56afb1c50 100644
--- a/gtk/hostlist_table.c
+++ b/gtk/hostlist_table.c
@@ -591,9 +591,9 @@ hostlist_create_popup_menu(hostlist_table *hl)
action_group = gtk_action_group_new ("HostlistTablePopupActionGroup");
gtk_action_group_add_actions (action_group, /* the action group */
- service_resp_t__popup_entries, /* an array of action descriptions */
+ (gpointer)service_resp_t__popup_entries, /* an array of action descriptions */
G_N_ELEMENTS(service_resp_t__popup_entries),/* the number of entries */
- (gpointer)hl); /* data to pass to the action callbacks */
+ hl); /* data to pass to the action callbacks */
ui_manager = gtk_ui_manager_new ();
gtk_ui_manager_insert_action_group (ui_manager,