diff --git a/lib/Maskings/Path.cpp b/lib/Maskings/Path.cpp index aa978f3a30..facc7bdb3b 100644 --- a/lib/Maskings/Path.cpp +++ b/lib/Maskings/Path.cpp @@ -49,7 +49,7 @@ ParseResult Path::parse(std::string const& def) { uint8_t const* p = reinterpret_cast(def.c_str()); int32_t off = 0; - int32_t len = def.size(); + int32_t len = static_cast(def.size()); UChar32 ch; if (wildcard) {