From bc4f2ce90a9f4bc7c3d476a8fcdf5bf134e91d2a Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Fri, 10 May 2019 16:23:59 +0200 Subject: [PATCH] Icu only permits 32bit long strings. (#8953) --- lib/Maskings/Path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {