aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-24 08:08:28 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-24 08:08:28 +0000
commit560c257bd0a633224f777a2ab51b56fb7f3e093d (patch)
tree72bea4eabb273002411d3144a4cfeec99bf495f3
parentd7aae417b112a81abe27535a975e5a4fbc482354 (diff)
prevent warning
-rw-r--r--lib/hostip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 7a32d1728..6c5e56788 100644
--- 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 */