From c94f3e818887cec11d9f22958f96ee9696fcb619 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 8 Dec 2005 19:47:33 +0000 Subject: [PATCH] Fix compiler warning --- lib/hostip6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hostip6.c b/lib/hostip6.c index 04ebaedee..867b38a78 100644 --- a/lib/hostip6.c +++ b/lib/hostip6.c @@ -143,7 +143,7 @@ int curl_dogetnameinfo(const struct sockaddr *sa, socklen_t salen, char *serv, size_t servlen, int flags, int line, const char *source) { - int res=(getnameinfo)(sa, salen, host, hostlen, serv, servlen, flags); + int res = (int)(getnameinfo)(sa, salen, host, hostlen, serv, servlen, flags); if(0 == res) { /* success */ if(logfile)