diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-06-24 08:08:28 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-24 08:08:28 +0000 |
commit | 560c257bd0a633224f777a2ab51b56fb7f3e093d (patch) | |
tree | 72bea4eabb273002411d3144a4cfeec99bf495f3 | |
parent | d7aae417b112a81abe27535a975e5a4fbc482354 (diff) |
prevent warning
-rw-r--r-- | lib/hostip.c | 2 |
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 */ |