Ignore:
Timestamp:
07/27/10 17:06:31 (11 years ago)
Author:
Shane Alcock <salcock@…>
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:
f724640
Parents:
8608a0fa
Message:
  • Fix warnings in tutorial code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/tutorial/timedemo.c

    r8835f5a rd025ff7  
    3838         * with periods in which no packets are observed.
    3939         */
    40         while (ts.tv_sec > next_report) {
     40        while ((uint32_t)ts.tv_sec > next_report) {
    4141                /* Print a timestamp for the report and the packet count */
    4242                printf("%u \t%" PRIu64 "\n", next_report, count);
Note: See TracChangeset for help on using the changeset viewer.