1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Fix undefined use of cctype functions

This commit is contained in:
Hielke Morsink
2021-10-28 10:54:09 +02:00
parent b21643a692
commit 76b5479bbb
7 changed files with 16 additions and 15 deletions

View File

@@ -39,7 +39,7 @@ static std::string sanitizeTestName(const std::string& name)
std::string res;
for (char c : nameOnly)
{
if (isalnum(c))
if (isalnum(static_cast<unsigned char>(c)))
res += c;
}
return res;