summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-11 14:00:20 (GMT)
committerDāvis Mosāns <davispuh@gmail.com>2016-11-14 19:21:19 (GMT)
commit92c865b8f5f0aef1af3ecd33692ce490467c0e70 (patch)
tree8e1aa007ad051e40b019ba1bff34f09e7ba0e7a3
parentd608cfb6bf6b93add793c64b40787307be10059a (diff)
downloadCMake-92c865b8f5f0aef1af3ecd33692ce490467c0e70.zip
CMake-92c865b8f5f0aef1af3ecd33692ce490467c0e70.tar.gz
CMake-92c865b8f5f0aef1af3ecd33692ce490467c0e70.tar.bz2
cmCTestBuildHandler: Use size_t in ProcessBuffer length argument
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx2
-rw-r--r--Source/CTest/cmCTestBuildHandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index 7b4d994..1a4c5af 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -920,7 +920,7 @@ int cmCTestBuildHandler::RunMakeCommand(const char* command, int* retVal,
//######################################################################
//######################################################################
-void cmCTestBuildHandler::ProcessBuffer(const char* data, int length,
+void cmCTestBuildHandler::ProcessBuffer(const char* data, size_t length,
size_t& tick, size_t tick_len,
std::ostream& ofs,
t_BuildProcessingQueueType* queue)
diff --git a/Source/CTest/cmCTestBuildHandler.h b/Source/CTest/cmCTestBuildHandler.h
index 5bd1157..9c64c10 100644
--- a/Source/CTest/cmCTestBuildHandler.h
+++ b/Source/CTest/cmCTestBuildHandler.h
@@ -107,7 +107,7 @@ private:
typedef std::deque<char> t_BuildProcessingQueueType;
- void ProcessBuffer(const char* data, int length, size_t& tick,
+ void ProcessBuffer(const char* data, size_t length, size_t& tick,
size_t tick_len, std::ostream& ofs,
t_BuildProcessingQueueType* queue);
int ProcessSingleLine(const char* data);