diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-05-12 21:11:45 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-05-12 21:11:45 (GMT) |
commit | 13281642080871ee875cf243c9004178342fe1ef (patch) | |
tree | 9d51ee39075ab44a2ecb9db42a9626c026bf2e06 /Source/CTest/Curl/transfer.c | |
parent | 70d3fe1a34eca9532e3ea9d6eb5171af09c06ad7 (diff) | |
download | CMake-13281642080871ee875cf243c9004178342fe1ef.zip CMake-13281642080871ee875cf243c9004178342fe1ef.tar.gz CMake-13281642080871ee875cf243c9004178342fe1ef.tar.bz2 |
ERR: Remove a bunch of warnings on SGI
Diffstat (limited to 'Source/CTest/Curl/transfer.c')
-rw-r--r-- | Source/CTest/Curl/transfer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/CTest/Curl/transfer.c b/Source/CTest/Curl/transfer.c index 7e3bfd8..ca7731b 100644 --- a/Source/CTest/Curl/transfer.c +++ b/Source/CTest/Curl/transfer.c @@ -246,7 +246,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, if(0>result) break; /* get out of loop */ if(result>0) - return result; + return (CURLcode)result; if ((k->bytecount == 0) && (k->writebytecount == 0)) Curl_pgrsTime(data, TIMER_STARTTRANSFER); @@ -426,7 +426,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, data->state.headerbuff, headerlen); if(result) - return result; + return (CURLcode)result; data->info.header_size += headerlen; conn->headerbytecount += headerlen; @@ -723,7 +723,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, result = Curl_client_write(data, k->writetype, k->p, k->hbuflen); if(result) - return result; + return (CURLcode)result; data->info.header_size += k->hbuflen; conn->headerbytecount += k->hbuflen; @@ -906,7 +906,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, k->badheader = HEADER_NORMAL; /* taken care of now */ if(result) - return result; + return (CURLcode)result; } } /* if (! header and data to read ) */ @@ -997,7 +997,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, conn->upload_present, /* buffer size */ &bytes_written); /* actually send away */ if(result) - return result; + return (CURLcode)result; else if(conn->upload_present != bytes_written) { /* we only wrote a part of the buffer (if anything), deal with it! */ @@ -1063,7 +1063,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, else result = Curl_speedcheck (data, k->now); if (result) - return result; + return (CURLcode)result; if (data->set.timeout && ((Curl_tvdiff(k->now, k->start)/1000) >= data->set.timeout)) { |