aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-26 17:06:07 -0400
committerJack Lloyd <[email protected]>2017-10-26 17:06:07 -0400
commit9a37a338e8798c2b94342c8984136b35e7a7394d (patch)
tree89171bb06575f3ec6de46c9d228c254ed5282a14
parent9c7436fbd0a750d0dca5a4dfd3970917c50dedfb (diff)
Fix build on 32-bit
-rw-r--r--src/lib/hash/blake2/blake2b.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/blake2/blake2b.cpp b/src/lib/hash/blake2/blake2b.cpp
index 42ec707bd..33cc8a2f4 100644
--- a/src/lib/hash/blake2/blake2b.cpp
+++ b/src/lib/hash/blake2/blake2b.cpp
@@ -53,7 +53,7 @@ void Blake2b::state_init()
m_F[0] = m_F[1] = 0;
}
-void Blake2b::compress(const uint8_t* input, size_t blocks, size_t increment)
+void Blake2b::compress(const uint8_t* input, size_t blocks, uint64_t increment)
{
for(size_t b = 0; b != blocks; ++b)
{