aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 3baf8284b..f9be23c22 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -191,7 +191,7 @@ int curl_dogetaddrinfo(char *hostname, char *service,
struct addrinfo *hints,
struct addrinfo **result,
int line, const char *source);
-int curl_dogetnameinfo(const struct sockaddr *sa, socklen_t salen,
+int curl_dogetnameinfo(const struct sockaddr *sa, size_t salen,
char *host, size_t hostlen,
char *serv, size_t servlen, int flags,
int line, const char *source);