Changeset 33d83d4 for lib/linktypes.c


Ignore:
Timestamp:
11/14/06 11:49:11 (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:
cab58c5
Parents:
b9aa767
Message:

Fixed up brazillions of warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    rf9d2f04 r33d83d4  
    4444                                         
    4545        }
    46         return ~0;
     46        return ~0U;
    4747}
    4848
     
    6969                         * include the ATM header, only the LLCSNAP header.
    7070                         */
    71                         return ~0;
     71                        return ~0U;
    7272                case TRACE_TYPE_LLCSNAP: return TRACE_DLT_ATM_RFC1483;
    7373        }
    74         return ~0;
     74        return ~0U;
    7575}
    7676
     
    9595                case TYPE_AAL5:         return TRACE_TYPE_AAL5;
    9696        }
    97         return ~0;
     97        return ~0U;
    9898}
    9999
     
    115115                case ARPHRD_80211_RADIOTAP: return TRACE_TYPE_80211_RADIO;
    116116        }
    117         return ~0;
     117        return ~0U;
    118118}
    119119
     
    124124                case TRACE_TYPE_80211_RADIO: return ARPHRD_80211_RADIOTAP;
    125125        }
    126         return -1;
     126        return ~0U;
    127127}
    128128
Note: See TracChangeset for help on using the changeset viewer.