From: Daniel Stenberg Date: Thu, 30 Nov 2000 21:59:51 +0000 (+0000) Subject: added a typecast to shut up a VC++ warning when converting from long X-Git-Tag: curl-7_5~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=173f12db6810f3307ffb0f4f6237ecdff546c6d2;p=curl added a typecast to shut up a VC++ warning when converting from long to unsigned short --- diff --git a/lib/ftp.c b/lib/ftp.c index 568a9b917..1d7b9c284 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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 */