From Bob Kuehne, proper c++ cast instead of c-cast for ApplicationUsage

This commit is contained in:
Robert Osfield
2005-11-07 15:46:05 +00:00
parent 16801f82e0
commit 18c916de1a

View File

@@ -222,7 +222,7 @@ void ApplicationUsage::writeEnvironmentSettings(std::ostream& output)
{
std::string::size_type len = citr->first.find_first_of("\n\r\t ");
if (len == std::string::npos) len = citr->first.size();
maxNumCharsInOptions = maximum(maxNumCharsInOptions,(unsigned int) len);
maxNumCharsInOptions = maximum( maxNumCharsInOptions,static_cast<unsigned int>(len));
}
unsigned int optionPos = 2;