summaryrefslogtreecommitdiffstats
path: root/Source/CTest/Curl/http.c
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-05-12 21:11:45 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-05-12 21:11:45 (GMT)
commit13281642080871ee875cf243c9004178342fe1ef (patch)
tree9d51ee39075ab44a2ecb9db42a9626c026bf2e06 /Source/CTest/Curl/http.c
parent70d3fe1a34eca9532e3ea9d6eb5171af09c06ad7 (diff)
downloadCMake-13281642080871ee875cf243c9004178342fe1ef.zip
CMake-13281642080871ee875cf243c9004178342fe1ef.tar.gz
CMake-13281642080871ee875cf243c9004178342fe1ef.tar.bz2
ERR: Remove a bunch of warnings on SGI
Diffstat (limited to 'Source/CTest/Curl/http.c')
-rw-r--r--Source/CTest/Curl/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/Curl/http.c b/Source/CTest/Curl/http.c
index c7a7647..9b9fa8e 100644
--- a/Source/CTest/Curl/http.c
+++ b/Source/CTest/Curl/http.c
@@ -428,7 +428,7 @@ CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn,
Curl_tvdiff(Curl_tvnow(), conn->now)/1000; /* spent time */
if(timeout <=0 ) {
failf(data, "Transfer aborted due to timeout");
- return -SELECT_TIMEOUT; /* already too little time */
+ return (CURLcode)-SELECT_TIMEOUT; /* already too little time */
}
}