aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-08 22:45:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-08 22:45:01 +0000
commit708ed6fded0174681be34a21141b18f3a5ce8b00 (patch)
treec02480e5977e86d4f4fc4cd59f9a02fde830834b
parent5c30fa50d6475996c9e74da12a44930633a15870 (diff)
silence compiler warnings
-rw-r--r--lib/ftp.c2
-rw-r--r--src/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 420f3b167..0d7d5a927 100644
--- 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");
diff --git a/src/main.c b/src/main.c
index 10b36b9f4..8af81392e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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) {