Changeset e2d49d5


Ignore:
Timestamp:
12/24/06 17:16:27 (15 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:
e1868fb
Parents:
870e501
Message:

Cleanup more warnings

Location:
tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tools/tracedump/tracedump.cc

    r66caf4b re2d49d5  
    4646                        case 'f':
    4747                                if (filter!=NULL) {
    48                                         fprintf(stderr,"You can only have one filter (quote it with " ")\n");
     48                                        fprintf(stderr,"You can only have one filter\n");
    4949                                        usage(argv[0]);
    5050                                }
  • tools/tracemerge/tracemerge.c

    ra7282fb re2d49d5  
    7272        }
    7373
    74         input=calloc((argc-optind),sizeof(struct libtrace_t *));
    75         packet=calloc((argc-optind),sizeof(struct libtrace_packet_t *));
    76         live=calloc((argc-optind),sizeof(bool));
     74        input=calloc((size_t)(argc-optind),sizeof(struct libtrace_t *));
     75        packet=calloc((size_t)(argc-optind),sizeof(struct libtrace_packet_t *));
     76        live=calloc((size_t)(argc-optind),sizeof(bool));
    7777        for(i=0;i<argc-optind;++i) {
    7878                libtrace_t *f;
  • tools/tracertstats/output.c

    re3b0188 re2d49d5  
    1313        &output_csv,
    1414        &output_html,
    15 #if HAVE_GDC_H
     15#ifdef HAVE_GDC_H
    1616        &output_png,
    1717#endif
Note: See TracChangeset for help on using the changeset viewer.