diff options
author | Sean McBride <sean@rogue-research.com> | 2015-11-11 21:24:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-11-11 21:27:24 (GMT) |
commit | 710d8bab7ea045216f904798f0df4d21bc94a66c (patch) | |
tree | 0cfafbd9ea2beded51a0e1dcfa3d45be800a0898 /Source/CTest/cmCTestCoverageHandler.cxx | |
parent | 54153fb98dfe6b91ed162e7c195005bf35fcd352 (diff) | |
download | CMake-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.cxx | 2 |
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) { |