Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at prefs_layout.c:342

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

layout_prefs_show

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/prefs_layout.c)expand/collapse
Show more  
 332   
 333      /* pane layout */
 334      for (i=0; i<LAYOUT_QTY; ++i)
 335      {
 336          type_tb = gtk_toggle_button_new ();
 337          gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(type_tb),
 338              (layout_type_e)(i + 1) == prefs.gui_layout_type);
 339   
 340          gtk_container_add (GTK_CONTAINER(type_tb), xpm_to_widget(inline_txt[i]));
 341   
 342          g_signal_connect(type_tb, "toggled", G_CALLBACK(layout_type_changed_cb), layout_type_buttons);
 343          layout_type_buttons[i] = type_tb;
 344          gtk_box_pack_start (GTK_BOX(button_hb), type_tb, TRUE, FALSE, 0);
 345      }
 346   
 347      g_object_set_data(G_OBJECT(main_vb), LAYOUT_TYPE_BUTTONS_KEY, layout_type_buttons);
 348   
 349      /* radio hbox */
 350      radio_hb = gtk_hbox_new(FALSE, 0);
 351      gtk_container_set_border_width(GTK_CONTAINER(radio_hb), 6);
 352      gtk_box_pack_start (GTK_BOX(pane_vb), radio_hb, FALSE, FALSE, 0);
Show more  




Change Warning 465.28459 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: