diff options
Diffstat (limited to 'graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp11.h')
-rw-r--r-- | graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp11.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp11.h b/graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp11.h index 77771ff8e1..2c9c9ba0be 100644 --- a/graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp11.h +++ b/graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp11.h @@ -70,7 +70,7 @@ namespace utf8 inline std::size_t find_invalid(const std::string& s) { std::string::const_iterator invalid = find_invalid(s.begin(), s.end()); - return (invalid == s.end()) ? std::string::npos : (invalid - s.begin()); + return (invalid == s.end()) ? std::string::npos : static_cast<std::size_t>(invalid - s.begin()); } inline bool is_valid(const std::string& s) |