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/content_encoding.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/content_encoding.c')
-rw-r--r-- | Source/CTest/Curl/content_encoding.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/Curl/content_encoding.c b/Source/CTest/Curl/content_encoding.c index 80d9eec..e20e26e 100644 --- a/Source/CTest/Curl/content_encoding.c +++ b/Source/CTest/Curl/content_encoding.c @@ -91,20 +91,20 @@ Curl_unencode_deflate_write(struct SessionHandle *data, DSIZ - z->avail_out); /* if !CURLE_OK, clean up, return */ if (result) { - return exit_zlib(z, &k->zlib_init, result); + return exit_zlib(z, &k->zlib_init, (CURLcode)result); } /* Done?; clean up, return */ if (status == Z_STREAM_END) { if (inflateEnd(z) == Z_OK) - return exit_zlib(z, &k->zlib_init, result); + return exit_zlib(z, &k->zlib_init, (CURLcode)result); else return exit_zlib(z, &k->zlib_init, process_zlib_error(data, z)); } /* Done with these bytes, exit */ if (status == Z_OK && z->avail_in == 0 && z->avail_out > 0) - return result; + return (CURLcode)result; } else { /* Error; exit loop, handle below */ return exit_zlib(z, &k->zlib_init, process_zlib_error(data, z)); |