From 1d182bd5f4ec17f2f44ac0ee0d1bf6a25e98761e Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 20 Dec 2006 13:45:55 -0800 Subject: [PATCH] compat/inet_ntop: do not use u_int It is pointless. Signed-off-by: Junio C Hamano --- compat/inet_ntop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/inet_ntop.c b/compat/inet_ntop.c index ec8c1bff5..4d7ab9d97 100644 --- a/compat/inet_ntop.c +++ b/compat/inet_ntop.c @@ -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; /* -- 2.30.2