projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e5f6cc
)
Fix compiler warning
author
Yang Tse
<yangsita@gmail.com>
Thu, 8 Dec 2005 19:47:33 +0000
(19:47 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 8 Dec 2005 19:47:33 +0000
(19:47 +0000)
lib/hostip6.c
patch
|
blob
|
history
diff --git
a/lib/hostip6.c
b/lib/hostip6.c
index
04ebaed
..
867b38a
100644
(file)
--- 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)