]> sjero.net Git - wget/blobdiff - src/ftp-basic.c
Henri's -Wall patch.
[wget] / src / ftp-basic.c
index 36b11bcacd1054db06eb65c982d6ee4f0f5a4c11..265a1e25b3ca178f0272edcf3cd806334e758bd2 100644 (file)
@@ -189,7 +189,7 @@ ftp_login (int csock, const char *acc, const char *pass)
       "331 s/key ",
       "331 opiekey "
     };
-    int i;
+    size_t i;
     const char *seed = NULL;
 
     for (i = 0; i < countof (skey_head); i++)
@@ -964,7 +964,7 @@ ftp_list (int csock, const char *file)
   int nwritten;
   uerr_t err;
   bool ok = false;
-  int i = 0;
+  size_t i = 0;
   /* Try `LIST -a' first and revert to `LIST' in case of failure.  */
   const char *list_commands[] = { "LIST -a", 
                                   "LIST" };