diff options
author | Yang Tse <yangsita@gmail.com> | 2005-12-08 19:47:33 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2005-12-08 19:47:33 +0000 |
commit | c94f3e818887cec11d9f22958f96ee9696fcb619 (patch) | |
tree | 1e037917c12a07b5826a8b37a0def2037c27ffd9 | |
parent | 1e5f6cc1dcf02ee156e4cbea0e9de49d4b9e1760 (diff) |
Fix compiler warning
-rw-r--r-- | lib/hostip6.c | 2 |
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) |