]> granicus.if.org Git - curl/commitdiff
typecast assign to ftpport from int to prevent warnings
authorDaniel Stenberg <daniel@haxx.se>
Thu, 10 Feb 2005 07:45:26 +0000 (07:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 Feb 2005 07:45:26 +0000 (07:45 +0000)
lib/ftp.c

index a14a786f453322a455b68ea9400416e6f32cd739..8b628710a259475e6f20bdc35462ef271dbb9e2e 100644 (file)
--- 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) {