summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-12-20 13:45:55 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-12-20 13:45:55 -0800
commit1d182bd5f4ec17f2f44ac0ee0d1bf6a25e98761e (patch)
tree338305e1686d292ce412578a6b7365f9cf864f58 /compat
parentgit-add: error out when given no arguments. (diff)
downloadtgif-1d182bd5f4ec17f2f44ac0ee0d1bf6a25e98761e.tar.xz
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;
/*