mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-02 20:42:36 +02:00
mac compile fix
This commit is contained in:
@@ -510,7 +510,7 @@ public:
|
|||||||
String value(*this);
|
String value(*this);
|
||||||
for(value_type &ch : value)
|
for(value_type &ch : value)
|
||||||
if(ch <= std::numeric_limits<ByteString::value_type>::max())
|
if(ch <= std::numeric_limits<ByteString::value_type>::max())
|
||||||
ch = std::tolower(ch, loc);
|
ch = std::tolower(static_cast<ByteString::value_type>(ch), loc);
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -520,7 +520,7 @@ public:
|
|||||||
String value(*this);
|
String value(*this);
|
||||||
for(value_type &ch : value)
|
for(value_type &ch : value)
|
||||||
if(ch <= std::numeric_limits<ByteString::value_type>::max())
|
if(ch <= std::numeric_limits<ByteString::value_type>::max())
|
||||||
ch = std::toupper(ch, loc);
|
ch = std::toupper(static_cast<ByteString::value_type>(ch), loc);
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user