Code

compat/inet_ntop: do not use u_int
authorJunio C Hamano <junkio@cox.net>
Wed, 20 Dec 2006 21:45:55 +0000 (13:45 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 20 Dec 2006 21:45:55 +0000 (13:45 -0800)
It is pointless.

Signed-off-by: Junio C Hamano <junkio@cox.net>
compat/inet_ntop.c

index ec8c1bff539232c581fd10ef1d01c345442a2e35..4d7ab9d9758428c003a74d9f85699d7fc6922e05 100644 (file)
@@ -93,7 +93,7 @@ inet_ntop6(src, dst, size)
         */
        char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp;
        struct { int base, len; } best, cur;
-       u_int words[NS_IN6ADDRSZ / NS_INT16SZ];
+       unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ];
        int i;
 
        /*