diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-06-24 08:31:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-24 08:31:17 +0000 |
commit | cdb419d65e4055dde693c0c130bd42ffdf28c96d (patch) | |
tree | b95c8ef71ebb6e29ea5220cb67728f049a411233 | |
parent | d6f9a41539062eb26219dea414c2aba7260321dd (diff) |
typecast to prevent warning
-rw-r--r-- | lib/hostthre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c index be8ab20a8..a13159f5f 100644 --- a/lib/hostthre.c +++ b/lib/hostthre.c @@ -469,7 +469,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, hostname, port, Curl_strerror(conn,WSAGetLastError())); return NULL; } - return Curl_he2ai(h, port); + return Curl_he2ai(h, (unsigned short)port); } #endif /* CURLRES_IPV4 */ |