1
0
Fork 0

Icu only permits 32bit long strings. (#8953)

This commit is contained in:
Wilfried Goesgens 2019-05-10 16:23:59 +02:00 committed by Jan
parent ed01582433
commit bc4f2ce90a
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ ParseResult<Path> Path::parse(std::string const& def) {
uint8_t const* p = reinterpret_cast<uint8_t const*>(def.c_str());
int32_t off = 0;
int32_t len = def.size();
int32_t len = static_cast<int32_t>(def.size());
UChar32 ch;
if (wildcard) {