mac compile fix
This commit is contained in:
parent
3b428789c7
commit
e8373ffa4c
@ -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