It currently returns uint64_t, which on older boost (at least 1.46) causes failures on 32-bit systems. This problem was introduced in bc42503.
Fixes #4634.
Right, the tests already failed. But no one has been running them with that version of boost, at least on a 32-bit system.
The Boost version used by the pulltester is even older than 1.46, and it passed:
0#define BOOST_LIB_VERSION "1_40"
It’s also fine in 1.54+. Seemingly the problem with non-size_t-hashers only exists in a relatively small range of boost versions.
key.GetHash(salt)
gives a uint64_t and we now cast that to size_t? Shouldn’t some more places be size_t then and not just this changed return value?
It currently returns uint64_t, which on older boost (at least 1.46) causes
test failures on 32-bit systems.
This problem was introduced in bc42503.
Fixes #4634.