1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-01 01:41:50 -05:00

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()));
return NULL;
}
return Curl_he2ai(h, port);
return Curl_he2ai(h, (unsigned short)port);
}
#endif /* CURLRES_IPV4 */