diff --git a/Development/third_party/jwt-cpp/base.h b/Development/third_party/jwt-cpp/base.h index fd3ee281..9d7c43c0 100644 --- a/Development/third_party/jwt-cpp/base.h +++ b/Development/third_party/jwt-cpp/base.h @@ -93,7 +93,7 @@ namespace jwt { auto itr = std::find_if(alphabet.cbegin(), alphabet.cend(), [symbol](char c) { return c == symbol; }); if (itr == alphabet.cend()) { throw std::runtime_error("Invalid input: not within alphabet"); } - return std::distance(alphabet.cbegin(), itr); + return static_cast(std::distance(alphabet.cbegin(), itr)); } } // namespace alphabet