summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageHandler.cxx
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2015-11-11 21:24:51 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-11 21:27:24 (GMT)
commit710d8bab7ea045216f904798f0df4d21bc94a66c (patch)
tree0cfafbd9ea2beded51a0e1dcfa3d45be800a0898 /Source/CTest/cmCTestCoverageHandler.cxx
parent54153fb98dfe6b91ed162e7c195005bf35fcd352 (diff)
downloadCMake-710d8bab7ea045216f904798f0df4d21bc94a66c.zip
CMake-710d8bab7ea045216f904798f0df4d21bc94a66c.tar.gz
CMake-710d8bab7ea045216f904798f0df4d21bc94a66c.tar.bz2
Fix trivial clang -Wdouble-promotion warnings
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.cxx')
-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 20807c8..09902a1 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -2287,7 +2287,7 @@ int cmCTestCoverageHandler::RunBullseyeSourceSummary(
{
cper /= 2.0f;
}
- percent_coverage += cper;
+ percent_coverage += static_cast<double>(cper);
float cmet = static_cast<float>(percentFunction + percentBranch);
if(totalBranches > 0)
{