summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CTest/cmCTestCoverageHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx
index af3be14..8f73220 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -1157,7 +1157,7 @@ int cmCTestCoverageHandler::HandleTracePyCoverage(
<< std::endl);
// Read the line number starting at the 10th character of the gcov
// output line
- int lineIdx = cnt;
+ long lineIdx = cnt;
if ( lineIdx >= 0 )
{
while ( vec->size() <=