aboutsummaryrefslogtreecommitdiffstats
path: root/net/atm/lec.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/atm/lec.c')
-rw-r--r--net/atm/lec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/lec.c b/net/atm/lec.c
index 0a9c4261968..1a8c4c6c0cd 100644
--- a/net/atm/lec.c
+++ b/net/atm/lec.c
@@ -176,7 +176,7 @@ static void lec_handle_bridge(struct sk_buff *skb, struct net_device *dev)
176static unsigned char *get_tr_dst(unsigned char *packet, unsigned char *rdesc) 176static unsigned char *get_tr_dst(unsigned char *packet, unsigned char *rdesc)
177{ 177{
178 struct trh_hdr *trh; 178 struct trh_hdr *trh;
179 int riflen, num_rdsc; 179 unsigned int riflen, num_rdsc;
180 180
181 trh = (struct trh_hdr *)packet; 181 trh = (struct trh_hdr *)packet;
182 if (trh->daddr[0] & (uint8_t) 0x80) 182 if (trh->daddr[0] & (uint8_t) 0x80)