From 36485e56ed428d324fb08cd94cc36031310806e6 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 11 Dec 2005 12:03:01 +0000 Subject: Fix compiler warning and compatibility issue with the type of the parameter used in getnameinfo() to receive the length of the sockaddr struct. --- lib/hostip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hostip.h') 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); -- cgit v1.2.3