Skip to content
Snippets Groups Projects
Commit 173f12db authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

to unsigned short
parent 983e3ae8
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment