aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/sha1_ia32/sha1_ia32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/sha1_ia32/sha1_ia32.cpp')
-rw-r--r--src/hash/sha1_ia32/sha1_ia32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/sha1_ia32/sha1_ia32.cpp b/src/hash/sha1_ia32/sha1_ia32.cpp
index 611cc1961..6bc9f31ec 100644
--- a/src/hash/sha1_ia32/sha1_ia32.cpp
+++ b/src/hash/sha1_ia32/sha1_ia32.cpp
@@ -19,9 +19,9 @@ void botan_sha160_ia32_compress(u32bit[5], const byte[64], u32bit[81]);
/*
* SHA-160 Compression Function
*/
-void SHA_160_IA32::compress_n(const byte input[], u32bit blocks)
+void SHA_160_IA32::compress_n(const byte input[], size_t blocks)
{
- for(u32bit i = 0; i != blocks; ++i)
+ for(size_t i = 0; i != blocks; ++i)
{
botan_sha160_ia32_compress(&digest[0], input, &W[0]);
input += HASH_BLOCK_SIZE;