about summary refs log tree commit diff
path: root/inet/getnameinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getnameinfo.c')
-rw-r--r--inet/getnameinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c
index a7cdb07742..5cfb6ded35 100644
--- a/inet/getnameinfo.c
+++ b/inet/getnameinfo.c
@@ -164,7 +164,7 @@ nrl_domainname (void)
 
 
 int
-getnameinfo (const struct sockaddr *sa, size_t addrlen, char *host,
+getnameinfo (const struct sockaddr *sa, socklen_t addrlen, char *host,
 	     size_t hostlen, char *serv, size_t servlen, int flags)
 {
   int serrno = errno;