g_fprintf() & g_vfprintf() should not be used....
[obnox/wireshark/wip.git] / proto_hier_stats.c
index 4a7c2d6591c23ef10543c13454db4437412a6b1b..1265c816fcad4899952dc4eb9f23e774e4206afb 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "globals.h"
 #include "proto_hier_stats.h"
-#include "progress_dlg.h"
+#include "ui/progress_dlg.h"
 #include <epan/epan_dissect.h>
 #include <wtap.h>
 
@@ -214,7 +214,7 @@ ph_stats_new(void)
        tot_bytes = 0;
 
        for (framenum = 1; framenum <= cfile.count; framenum++) {
-               frame = cap_file_find_fdata(&cfile, framenum);
+               frame = frame_data_sequence_find(cfile.frames, framenum);
 
                /* Create the progress bar if necessary.
                   We check on every iteration of the loop, so that