Commit 238815fe authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Remove warning

parent f03d370e
...@@ -932,8 +932,10 @@ int ctest::CoverageDirectory() ...@@ -932,8 +932,10 @@ int ctest::CoverageDirectory()
<< "\t\t<Report>" << std::endl; << "\t\t<Report>" << std::endl;
for ( cc = 0; cc < lines.size(); cc ++ ) for ( cc = 0; cc < lines.size(); cc ++ )
{ {
cfileoutput << "\t\t<Line Number=\"" << cc << "\" Count=\"" cfileoutput << "\t\t<Line Number=\""
<< cov.m_Lines[cc] << "\">" << lines[cc] << "</Line>" << std::endl; << static_cast<int>(cc) << "\" Count=\""
<< cov.m_Lines[cc] << "\">"
<< lines[cc] << "</Line>" << std::endl;
} }
cfileoutput << "\t\t</Report>\n" cfileoutput << "\t\t</Report>\n"
<< "\t</File>" << std::endl; << "\t</File>" << std::endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment