Dangerous Function Cast at print_dlg.c:268 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
export_ps_cmd_cb (/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/print_dlg.c)![]() | ||||||
![]() | ||||||
258 | args->print_summary = TRUE; | |||||
259 | args->print_dissections = print_dissections_as_displayed; | |||||
260 | args->print_hex = FALSE; | |||||
261 | args->print_formfeed = FALSE; | |||||
262 | } | |||||
263 | ||||||
264 | /* init the printing range */ | |||||
265 | packet_range_init(&args->range); | |||||
266 | ||||||
267 | export_ps_win = open_print_dialog("Wireshark: Export as \"PostScript\" file", output_action_export_ps, args); | |||||
268 | g_signal_connect(export_ps_win, "destroy", G_CALLBACK(print_destroy_cb), &export_ps_win);
| |||||
269 | } | |||||
270 | ||||||
271 | ||||||
272 | /* | |||||
273 | * Keep a static pointer to the current "Export psml" window, if any, so that if | |||||
274 | * somebody tries to do "File:Export to psml" while there's already a "Export psml" window | |||||
275 | * up, we just pop up the existing one, rather than creating a new one. | |||||
276 | */ | |||||
277 | static GtkWidget *export_psml_win = NULL; | |||||
278 | ||||||
![]() |