aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-10 07:45:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-10 07:45:26 +0000
commit17d61e4f29e3e1f39a845834e268e67a5afa46e1 (patch)
treeb4fc4f547334051dd0a57491964094417ecff311 /lib
parent446b9467dabb5ffeabd37a7c56fe1cc9049578b5 (diff)
typecast assign to ftpport from int to prevent warnings
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index a14a786f4..8b628710a 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1677,7 +1677,7 @@ static CURLcode ftp_state_port_resp(struct connectdata *conn,
{
struct FTP *ftp = conn->proto.ftp;
struct SessionHandle *data = conn->data;
- ftpport fcmd = ftp->count1;
+ ftpport fcmd = (ftpport)ftp->count1;
CURLcode result = CURLE_OK;
if(ftpcode != 200) {