aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/siphash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/siphash.h')
-rw-r--r--src/crypto/siphash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/siphash.h b/src/crypto/siphash.h
index b312f913f9..6b38950f8e 100644
--- a/src/crypto/siphash.h
+++ b/src/crypto/siphash.h
@@ -15,7 +15,7 @@ class CSipHasher
private:
uint64_t v[4];
uint64_t tmp;
- int count;
+ uint8_t count; // Only the low 8 bits of the input size matter.
public:
/** Construct a SipHash calculator initialized with 128-bit key (k0, k1) */