[port] one more endianness change

This commit is contained in:
Tim Stack 2022-10-03 21:19:03 -07:00
parent 3b1233be8f
commit 468358a358
1 changed files with 2 additions and 3 deletions

View File

@ -95,10 +95,9 @@ public:
return *this;
}
template<typename T,
typename = std::enable_if<std::is_arithmetic<T>::value>>
hasher& update(T value)
hasher& update(int64_t value)
{
value = SPOOKYHASH_LITTLE_ENDIAN_64(value);
this->h_context.Update(&value, sizeof(value));
return *this;