aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2005-12-08 19:47:33 +0000
committerYang Tse <yangsita@gmail.com>2005-12-08 19:47:33 +0000
commitc94f3e818887cec11d9f22958f96ee9696fcb619 (patch)
tree1e037917c12a07b5826a8b37a0def2037c27ffd9
parent1e5f6cc1dcf02ee156e4cbea0e9de49d4b9e1760 (diff)
Fix compiler warning
-rw-r--r--lib/hostip6.c2
1 files changed, 1 insertions, 1 deletions
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)