forked from osmocom/wireshark
Add a cast as there seems to be a problem on some sytems
conversations_table.c: In function `ct_create_popup_menu': conversations_table.c:1938: warning: passing arg 2 of `gtk_action_group_add_actions' discards qualifiers from pointer target type make: *** [libui_a-conversations_table.o] Error 1 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36747 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
parent
cd8f7ee43f
commit
bf80a1d2d0
|
@ -1935,7 +1935,7 @@ ct_create_popup_menu(conversations_table *ct)
|
|||
gtk_action_group_add_actions (action_group, /* the action group */
|
||||
conv_filter_menu_entries, /* an array of action descriptions */
|
||||
G_N_ELEMENTS(conv_filter_menu_entries), /* the number of entries */
|
||||
ct); /* data to pass to the action callbacks */
|
||||
(gpointer)ct); /* data to pass to the action callbacks */
|
||||
|
||||
ui_manager = gtk_ui_manager_new ();
|
||||
gtk_ui_manager_insert_action_group (ui_manager, action_group, 0);
|
||||
|
|
Loading…
Reference in New Issue