diff options
Diffstat (limited to 'Source/CTest/Curl/sendf.c')
-rw-r--r-- | Source/CTest/Curl/sendf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CTest/Curl/sendf.c b/Source/CTest/Curl/sendf.c index 9c9f14e..01cfb23 100644 --- a/Source/CTest/Curl/sendf.c +++ b/Source/CTest/Curl/sendf.c @@ -155,7 +155,7 @@ void Curl_failf(struct SessionHandle *data, const char *fmt, ...) data->state.errorbuf = TRUE; /* wrote error string */ if(data->set.verbose) { - int len = strlen(data->set.errorbuffer); + int len = (int)strlen(data->set.errorbuffer); bool doneit=FALSE; if(len < CURL_ERROR_SIZE) { doneit = TRUE; @@ -189,7 +189,7 @@ CURLcode Curl_sendf(int sockfd, struct connectdata *conn, return CURLE_OUT_OF_MEMORY; /* failure */ bytes_written=0; - write_len = strlen(s); + write_len = (int)strlen(s); sptr = s; do { @@ -265,7 +265,7 @@ CURLcode Curl_write(struct connectdata *conn, int sockfd, else #endif /* KRB4 */ { - bytes_written = swrite(sockfd, mem, len); + bytes_written = (int)swrite(sockfd, mem, (int)len); } if(-1 == bytes_written) { #ifdef WIN32 @@ -374,7 +374,7 @@ int Curl_read(struct connectdata *conn, nread = Curl_sec_read(conn, sockfd, buf, buffersize); else #endif - nread = sread (sockfd, buf, buffersize); + nread = sread (sockfd, buf, (int)buffersize); if(-1 == nread) { #ifdef WIN32 |