Merge pull request #104218 from zaevi/fix_OptimizedTranslation_hash

Fix hash issue with OptimizedTranslation caused by signed char
This commit is contained in:
Thaddeus Crews
2025-04-01 19:53:37 -05:00

View File

@@ -64,7 +64,7 @@ class OptimizedTranslation : public Translation {
d = 0x1000193;
}
while (*p_str) {
d = (d * 0x1000193) ^ uint32_t(*p_str);
d = (d * 0x1000193) ^ static_cast<uint8_t>(*p_str);
p_str++;
}