net: cleanup unsigned to unsigned int
[linux-2.6-block.git] / net / packet / af_packet.c
index 4f2c0df795639a97d1d2c0b7cfabe1779e6f103d..d2b5f6591f1a76ff9625fff377e99325f940cd89 100644 (file)
@@ -1764,7 +1764,7 @@ static int tpacket_rcv(struct sk_buff *skb, struct net_device *dev,
                macoff = netoff = TPACKET_ALIGN(po->tp_hdrlen) + 16 +
                                  po->tp_reserve;
        } else {
-               unsigned maclen = skb_network_offset(skb);
+               unsigned int maclen = skb_network_offset(skb);
                netoff = TPACKET_ALIGN(po->tp_hdrlen +
                                       (maclen < 16 ? 16 : maclen)) +
                        po->tp_reserve;