1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

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

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