typecast to prevent warning

This commit is contained in:
Daniel Stenberg 2004-06-24 08:31:17 +00:00
parent d6f9a41539
commit cdb419d65e
1 changed files with 1 additions and 1 deletions

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 */