We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ce763 commit bbf21c0Copy full SHA for bbf21c0
ProgramOptions.hxx
@@ -1676,9 +1676,9 @@ namespace po {
1676
if( !std::isalpha( short_option ) )
1677
return;
1678
if( std::islower( short_option ) )
1679
- short_option = std::toupper( short_option );
+ short_option = static_cast< char >( std::toupper( short_option ) );
1680
else // if( std::isupper( short_option ) )
1681
- short_option = std::tolower( short_option );
+ short_option = static_cast< char >( std::tolower( short_option ) );
1682
if( find_abbreviation( short_option ) != m_options.end() )
1683
*m_output_destination << suggest( std::string{ '-', short_option } );
1684
}
0 commit comments