From 173f12db6810f3307ffb0f4f6237ecdff546c6d2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 30 Nov 2000 21:59:51 +0000 Subject: added a typecast to shut up a VC++ warning when converting from long to unsigned short --- lib/ftp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/ftp.c') 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 */ -- cgit v1.2.3