silence compiler warnings
authorDaniel Stenberg <daniel@haxx.se>
Sun, 8 May 2005 22:45:01 +0000 (22:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 8 May 2005 22:45:01 +0000 (22:45 +0000)
lib/ftp.c
src/main.c

index 420f3b1..0d7d5a9 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -2678,7 +2678,7 @@ static CURLcode ftp_easy_statemach(struct connectdata *conn)
 
     rc = Curl_select(ftp->sendleft?CURL_SOCKET_BAD:sock, /* reading */
                      ftp->sendleft?sock:CURL_SOCKET_BAD, /* writing */
-                     timeout_ms);
+                     (int)timeout_ms);
 
     if(rc == -1) {
       failf(data, "select error");
index 10b36b9..8af8139 100644 (file)
@@ -2851,7 +2851,7 @@ int my_trace(CURL *handle, curl_infotype type,
       "*", "<", ">"
     };
     size_t i;
-    int st=0;
+    size_t st=0;
     static bool newl = FALSE;
 
     switch(type) {