compat/inet_ntop: do not use u_int
It is pointless. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
93b0d86aaf
commit
1d182bd5f4
@ -93,7 +93,7 @@ inet_ntop6(src, dst, size)
|
|||||||
*/
|
*/
|
||||||
char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp;
|
char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp;
|
||||||
struct { int base, len; } best, cur;
|
struct { int base, len; } best, cur;
|
||||||
u_int words[NS_IN6ADDRSZ / NS_INT16SZ];
|
unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user