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:
d7aae41
)
prevent warning
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 24 Jun 2004 08:08:28 +0000
(08:08 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 24 Jun 2004 08:08:28 +0000
(08:08 +0000)
lib/hostip.c
patch
|
blob
|
history
diff --git
a/lib/hostip.c
b/lib/hostip.c
index
7a32d17
..
6c5e567
100644
(file)
--- a/
lib/hostip.c
+++ b/
lib/hostip.c
@@
-555,6
+555,6
@@
Curl_addrinfo *Curl_addrinfo_copy(void *org, int port)
{
struct hostent *orig = org;
- return Curl_he2ai(orig, port);
+ return Curl_he2ai(orig,
(unsigned short)
port);
}
#endif /* CURLRES_ADDRINFO_COPY */