Fix cast warning in mark_overflow()

This commit is contained in:
Christian Mazakas
2022-09-26 10:27:22 -07:00
parent 7d69d18473
commit ad352a6703

View File

@@ -118,7 +118,7 @@ struct group15
inline void mark_overflow(std::size_t hash) inline void mark_overflow(std::size_t hash)
{ {
overflow()|=1<<(hash%8); overflow()|=static_cast<unsigned char>(1<<(hash%8));
} }
inline int match_available()const inline int match_available()const