typecast assign to ftpport from int to prevent warnings

This commit is contained in:
Daniel Stenberg 2005-02-10 07:45:26 +00:00
parent 446b9467da
commit 17d61e4f29
1 changed files with 1 additions and 1 deletions

View File

@ -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) {