From 468358a358e139d0811280d82ebb9f04f92a3609 Mon Sep 17 00:00:00 2001 From: Tim Stack Date: Mon, 3 Oct 2022 21:19:03 -0700 Subject: [PATCH] [port] one more endianness change --- src/lnav_util.hh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lnav_util.hh b/src/lnav_util.hh index b8235947..5edb5372 100644 --- a/src/lnav_util.hh +++ b/src/lnav_util.hh @@ -95,10 +95,9 @@ public: return *this; } - template::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;