]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/iplink.c
Cleanup GCC4 warnings about signedness.
[mirror_iproute2.git] / ip / iplink.c
index 520280ed8aafb8aec1dae8ee31fcc54202801329..77b1eeaef75a76984d8ed38a1b1609ef19c788d1 100644 (file)
@@ -178,7 +178,7 @@ static int get_address(const char *dev, int *htype)
 {
        struct ifreq ifr;
        struct sockaddr_ll me;
-       int alen;
+       socklen_t alen;
        int s;
 
        s = socket(PF_PACKET, SOCK_DGRAM, 0);