1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

added a typecast to shut up a VC++ warning when converting from long

to unsigned short
This commit is contained in:
Daniel Stenberg 2000-11-30 21:59:51 +00:00
parent 983e3ae8c5
commit 173f12db68

View File

@ -860,7 +860,8 @@ CURLcode _ftp(struct connectdata *conn)
* previous lookup. * previous lookup.
*/ */
he = conn->hp; 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 { else {
/* normal, direct, ftp connection */ /* normal, direct, ftp connection */