diff options
author | Brad King <brad.king@kitware.com> | 2014-12-23 16:26:55 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2014-12-26 15:23:35 (GMT) |
commit | 0bdd4ebfb8303cc46e4a8bbe16f6c7bcc7108e2a (patch) | |
tree | 55e9a2deffd66d0c1b861a640c2739c5088501f9 /Source/CTest/cmCTestRunTest.cxx | |
parent | a9fae8ac1d952ffd3b54de6082f9729466101bb0 (diff) | |
download | CMake-0bdd4ebfb8303cc46e4a8bbe16f6c7bcc7108e2a.zip CMake-0bdd4ebfb8303cc46e4a8bbe16f6c7bcc7108e2a.tar.gz CMake-0bdd4ebfb8303cc46e4a8bbe16f6c7bcc7108e2a.tar.bz2 |
cmCTest: Use size_t for cmsysBase64_Encode return value
Diffstat (limited to 'Source/CTest/cmCTestRunTest.cxx')
-rw-r--r-- | Source/CTest/cmCTestRunTest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx index 9e3c9fc..ff55528 100644 --- a/Source/CTest/cmCTestRunTest.cxx +++ b/Source/CTest/cmCTestRunTest.cxx @@ -116,10 +116,10 @@ void cmCTestRunTest::CompressOutput() unsigned char *encoded_buffer = new unsigned char[static_cast<int>(outSize * 1.5)]; - unsigned long rlen + size_t rlen = cmsysBase64_Encode(out, strm.total_out, encoded_buffer, 1); - for(unsigned long i = 0; i < rlen; i++) + for(size_t i = 0; i < rlen; i++) { this->CompressedOutput += encoded_buffer[i]; } |