Changeset 85921e8


Ignore:
Timestamp:
10/13/06 11:47:19 (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:
c806cb3
Parents:
2e420ff
Message:

Squash some more warnings. (signed vs unsigned, unused parameters)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_rt.c

    re233141 r85921e8  
    8282        char *pkt_buffer;
    8383        char *buf_current;
    84         int buf_filled;
     84        size_t buf_filled;
    8585        rt_header_t rt_hdr;
    8686       
     
    260260        /* Send a close message to the server */
    261261        if (send(RT_INFO->input_fd, (void*)&close_msg, sizeof(rt_header_t) +
    262                                 close_msg.length, 0) != sizeof(rt_header_t)
     262                                close_msg.length, 0) != (int)sizeof(rt_header_t)
    263263                                + close_msg.length) {
    264264                printf("Failed to send close message to server\n");
     
    362362        RT_INFO->buf_current += len;
    363363        RT_INFO->buf_filled -= len;
    364         assert(RT_INFO->buf_filled >= 0);
    365364        return len;
    366365}
     
    620619}
    621620
    622 static int rt_get_wire_length(const libtrace_packet_t *packet) {
     621static int rt_get_wire_length(UNUSED const libtrace_packet_t *packet) {
    623622        return 0;
    624623}
    625624                       
    626 static int rt_get_framing_length(const libtrace_packet_t *packet) {
     625static int rt_get_framing_length(UNUSED const libtrace_packet_t *packet) {
    627626        return 0;
    628627}
Note: See TracChangeset for help on using the changeset viewer.