fixing UB

This commit is contained in:
bogdasar1985
2020-07-22 17:17:33 +02:00
committed by Martin Hořeňovský
parent 5c502320e8
commit 3ceaad7d66
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ namespace Catch {
namespace {
char toLowerCh(char c) {
return static_cast<char>( std::tolower( c ) );
return static_cast<char>( std::tolower( static_cast<unsigned char>(c) ) );
}
}