[port] one more endianness change

pull/1072/head
Tim Stack 2 years ago
parent 3b1233be8f
commit 468358a358

@ -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;

Loading…
Cancel
Save