path: root/summary.c
diff options
authorGuy Harris <guy@alum.mit.edu>2011-04-25 05:33:07 +0000
committerGuy Harris <guy@alum.mit.edu>2011-04-25 05:33:07 +0000
commit678be392f16cda70c04059717022d9b2d100825a (patch)
tree7de19db35225461d7a3d9418e48e78bb803382fc /summary.c
parentd687ba04fdac0a694ecc87c440a77537888598f6 (diff)
Make the packet count an unsigned value, as frame numbers are unsigned.
Make the loops that scan through all the packets do so by frame number, to abstract away the "next" and "previous" pointers in the frame_data structure. Add a routine to cfile.c to map frame numbers to frame_data structures, and put in some special case handling so scanning forward or backward through the packets is O(N) rather than O(N^2). svn path=/trunk/; revision=36846
Diffstat (limited to 'summary.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/summary.c b/summary.c
index 82831b78d4..cda290289a 100644
--- a/summary.c
+++ b/summary.c
@@ -92,7 +92,7 @@ summary_fill_in(capture_file *cf, summary_tally *st)
frame_data *first_frame, *cur_frame;
- int i;
+ guint32 i;
frame_data *cur_glist;
st->start_time = 0;