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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user