summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-01-28 21:56:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-01-28 21:56:33 (GMT)
commita26c70477c9f9468a5b6bd6144c0d971730efbb8 (patch)
treef8a6c3bca13935bd50daabcb525dea279ffc84eb /Source/CTest
parent26238d7d9a1ea8a662b0918be31eaaf3a16be548 (diff)
downloadCMake-a26c70477c9f9468a5b6bd6144c0d971730efbb8.zip
CMake-a26c70477c9f9468a5b6bd6144c0d971730efbb8.tar.gz
CMake-a26c70477c9f9468a5b6bd6144c0d971730efbb8.tar.bz2
STYLE: fix warning
Diffstat (limited to 'Source/CTest')
-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 a248bc6..af3be14 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -570,7 +570,7 @@ int cmCTestCoverageHandler::ProcessHandler()
}
}
- int total_lines = total_tested + total_untested;
+ long total_lines = total_tested + total_untested;
float percent_coverage = 100 * SAFEDIV(static_cast<float>(total_tested),
static_cast<float>(total_lines));
if ( total_lines == 0 )