summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-20 13:45:55 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-20 13:45:55 -0800
commit1d182bd5f4ec17f2f44ac0ee0d1bf6a25e98761e (patch)
tree338305e1686d292ce412578a6b7365f9cf864f58 /compat
parent93b0d86aafdd3e00de2c3c6ebb3c109b4571e1c4 (diff)
downloadgit-1d182bd5f4ec17f2f44ac0ee0d1bf6a25e98761e.tar.gz
compat/inet_ntop: do not use u_int
It is pointless. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'compat')
-rw-r--r--compat/inet_ntop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/inet_ntop.c b/compat/inet_ntop.c
index ec8c1bff53..4d7ab9d975 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;
/*