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