Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at tcp_graph.c:1445

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

control_panel_create_cross_group

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/tcp_graph.c)expand/collapse
Show more  
 1435          box = gtk_hbox_new (FALSE, 0);
 1436          gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 10);
 1437          gtk_box_pack_start (GTK_BOX (box), off, FALSE, FALSE, 10);
 1438          gtk_box_pack_start (GTK_BOX (box), on, FALSE, FALSE, 0);
 1439          vbox = gtk_vbox_new (FALSE, 0);
 1440          gtk_box_pack_start (GTK_BOX (vbox), box, FALSE, FALSE, 15);
 1441          /* frame = gtk_frame_new ("Cross:"); */
 1442          frame = gtk_frame_new (NULL);
 1443          gtk_container_add (GTK_CONTAINER (frame), vbox);
 1444   
 1445          g_signal_connect(on, "toggled", G_CALLBACK(callback_cross_on_off), g);
 1446   
 1447          g->cross.on_toggle = (GtkToggleButton * )on;
 1448          g->cross.off_toggle = (GtkToggleButton * )off;
 1449   
 1450          return frame;
 1451  }
 1452   
 1453  static void callback_cross_on_off (GtkWidget *toggle, gpointer data)
 1454  {
 1455          struct graph *g = (struct graph * )data;
Show more  




Change Warning 849.29183 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: