Commit 17d61e4f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

typecast assign to ftpport from int to prevent warnings

parent 446b9467
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {