type_info: char to unsigned char conversion before using the value
This commit is contained in:
parent
2b4a0f158b
commit
6e0fe7b8c6
@ -21,7 +21,7 @@ namespace internal {
|
||||
auto value = offset;
|
||||
|
||||
for(auto &&curr: view) {
|
||||
value = (value ^ static_cast<std::uint32_t>(curr)) * prime;
|
||||
value = (value ^ static_cast<std::uint32_t>(static_cast<unsigned char>(curr))) * prime;
|
||||
}
|
||||
|
||||
return value;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user