Changeset 6842b35


Ignore:
Timestamp:
05/01/06 21:22:56 (16 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:
4923d34
Parents:
e347715
Message:

Add missing cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols.c

    re347715 r6842b35  
    173173                        return trace_get_payload_from_ethernet(link,type,remaining);
    174174                case TRACE_TYPE_NONE:
    175                         if (*link&0xF0 == 4)
     175                        if (*(char*)link&0xF0 == 4)
    176176                                *type=0x0800;
    177                         else if (*link&0xF0 == 6)
     177                        else if (*(char*)link&0xF0 == 6)
    178178                                *type=0x86DD;
    179179                        return link; /* I love the simplicity */
Note: See TracChangeset for help on using the changeset viewer.