mirror of
https://github.com/curl/curl.git
synced 2026-05-17 13:06:20 +03:00
added a typecast to shut up a VC++ warning when converting from long
to unsigned short
This commit is contained in:
parent
983e3ae8c5
commit
173f12db68
1 changed files with 2 additions and 1 deletions
|
|
@ -860,7 +860,8 @@ CURLcode _ftp(struct connectdata *conn)
|
|||
* previous lookup.
|
||||
*/
|
||||
he = conn->hp;
|
||||
connectport = data->port; /* we connect to the proxy's port */
|
||||
connectport =
|
||||
(unsigned short)data->port; /* we connect to the proxy's port */
|
||||
}
|
||||
else {
|
||||
/* normal, direct, ftp connection */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue