Qt: Add a CaptureFile class.
[metze/wireshark/wip.git] / ui / gtk / main.c
index 622bb6ee16c1a496382a1cf1f75b6d465e939b14..83ab1fd482a3546bbe3c9c4b08ed7015890c3d8a 100644 (file)
@@ -2469,7 +2469,7 @@ main(int argc, char *argv[])
        by preference settings and then again by the command line parameters. */
     capture_opts_init(&global_capture_opts);
 
-    capture_session_init(&global_capture_session, (void *)&cfile);
+    capture_session_init(&global_capture_session, &cfile);
 #endif
 
     init_report_err(failure_alert_box, open_failure_alert_box,