typecast to prevent warning

This commit is contained in:
Daniel Stenberg 2004-06-24 08:31:17 +00:00
parent d6f9a41539
commit cdb419d65e

View File

@ -469,7 +469,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
hostname, port, Curl_strerror(conn,WSAGetLastError())); hostname, port, Curl_strerror(conn,WSAGetLastError()));
return NULL; return NULL;
} }
return Curl_he2ai(h, port); return Curl_he2ai(h, (unsigned short)port);
} }
#endif /* CURLRES_IPV4 */ #endif /* CURLRES_IPV4 */