diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-11-30 21:59:51 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-11-30 21:59:51 +0000 |
commit | 173f12db6810f3307ffb0f4f6237ecdff546c6d2 (patch) | |
tree | 8e1e4d51af90393ccb93f34f729cba89d8296aba | |
parent | 983e3ae8c5aa08f3ccb56f0e57720f36255ee274 (diff) |
added a typecast to shut up a VC++ warning when converting from long
to unsigned short
-rw-r--r-- | lib/ftp.c | 3 |
1 files changed, 2 insertions, 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 */ |