Changeset 0f42351 for examples/rate


Ignore:
Timestamp:
04/27/07 23:09:40 (14 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
4f55f69
Parents:
ffe2541
Message:

Lots more warnings squashed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/rate/rate-dir.c

    rffe2541 r0f42351  
    161161                ts = trace_get_seconds(packet);
    162162                if(last_second == 0) {
    163                         last_second = (int)ts;
    164                 } else if (last_second < (int)ts) {
    165                         last_second = (int)ts;
     163                        last_second = ts;
     164                } else if (last_second < ts) {
     165                        last_second = ts;
    166166                        docalc++;
    167167                }
Note: See TracChangeset for help on using the changeset viewer.