aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/inet_ntop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c
index 7be7368e..c51175ff 100644
--- a/lib/inet_ntop.c
+++ b/lib/inet_ntop.c
@@ -43,7 +43,7 @@ static const char *inet_ntop6(const unsigned char *src, char *dst,
* Paul Vixie, 1996.
*/
const char *
-inet_ntop(int af, const void *src, char *dst, size_t size)
+inet_ntop(int af, const void *src, char *dst, socklen_t size)
{
switch (af) {
case AF_INET: