diff options
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index 1f27394..0606cd9 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -1501,15 +1501,15 @@ int cmCTestCoverageHandler::RunBullseyeSourceSummary( float cper = percentBranch + percentFunction; if(totalBranches > 0) { - cper /= 2.0; + cper /= 2.0f; } percent_coverage += cper; float cmet = percentFunction + percentBranch; if(totalBranches > 0) { - cmet /= 2.0; + cmet /= 2.0f; } - cmet /= 100.0; + cmet /= 100.0f; // Hack for conversion of function to loc assume a function // has 100 lines of code functionsCalled *=100; |