STYLE: fix warning

This commit is contained in:
Bill Hoffman 2009-01-28 16:56:33 -05:00
parent 26238d7d9a
commit a26c70477c
1 changed files with 1 additions and 1 deletions

View File

@ -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 )