summaryrefslogtreecommitdiff
path: root/gtk/hostlist_table.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-06-17 13:19:44 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-06-17 13:19:44 +0000
commita2106225add5eff9f9f4909ea5df17f27bc0afb8 (patch)
tree55390444ee8944a545ed43b6d157f3ad1c481db7 /gtk/hostlist_table.c
parent5147a51e3ae16667f23ccedf1b59cb2b22fbd2e7 (diff)
downloadwireshark-a2106225add5eff9f9f4909ea5df17f27bc0afb8.tar.gz
Add the correct casts to make it compile on some old ERHL box.
svn path=/trunk/; revision=37693
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,