Add casts to make it compile on some old ERHL box.
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 10 Jun 2011 08:31:14 +0000 (08:31 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 10 Jun 2011 08:31:14 +0000 (08:31 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37645 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/hostlist_table.c

index 3cc32e41fba9e7519b7820e5362601f2687e8a20..d7fe9debd440bef4fbcd9ca302620037068660aa 100644 (file)
@@ -593,7 +593,7 @@ hostlist_create_popup_menu(hostlist_table *hl)
        gtk_action_group_add_actions (action_group,                                                             /* the action group */
                                                                service_resp_t__popup_entries,                          /* an array of action descriptions */
                                                                G_N_ELEMENTS(service_resp_t__popup_entries),/* the number of entries */
-                                                               hl);                                                                            /* data to pass to the action callbacks */
+                                                               (gpointer)hl);                                                          /* data to pass to the action callbacks */
 
        ui_manager = gtk_ui_manager_new ();
        gtk_ui_manager_insert_action_group (ui_manager,