diff --git a/src/tag/Pool.cxx b/src/tag/Pool.cxx index 83d9efab8..b824bdf4a 100644 --- a/src/tag/Pool.cxx +++ b/src/tag/Pool.cxx @@ -50,10 +50,10 @@ static std::array, 16127> slots; -static inline unsigned +static inline std::size_t calc_hash(TagType type, std::string_view p) noexcept { - unsigned hash = 5381; + std::size_t hash = 5381; for (auto ch : p) hash = (hash << 5) + hash + ch;