From Andrew Chatham: fix bug in 64-bit hash.
This commit is contained in:
parent
058f233b7a
commit
2fb69fac7a
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ Stringpool_template<Stringpool_char>::Stringpool_hash::operator()(
|
|||
const char* p = reinterpret_cast<const char*>(s);
|
||||
for (size_t i = 0; i < sizeof(Stringpool_char); ++i)
|
||||
{
|
||||
result &= (size_t) *p++;
|
||||
result ^= (size_t) *p++;
|
||||
result *= 1099511628211ULL;
|
||||
}
|
||||
++s;
|
||||
|
|
Loading…
Reference in a new issue