aboutsummaryrefslogtreecommitdiffstats
path: root/checks/block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'checks/block.cpp')
-rw-r--r--checks/block.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/block.cpp b/checks/block.cpp
index e3b871aa1..dc3350ce3 100644
--- a/checks/block.cpp
+++ b/checks/block.cpp
@@ -27,7 +27,7 @@ class ECB_Encryption_ErrorCheck : public Filter
std::string name() const
{ return "ECB_ErrCheck(" + cipher->name() + ")"; }
- void write(const byte[], u32bit);
+ void write(const byte[], size_t);
void end_msg();
@@ -61,7 +61,7 @@ class ECB_Encryption_ErrorCheck : public Filter
HashFunction* input_hash, *decrypt_hash;
};
-void ECB_Encryption_ErrorCheck::write(const byte input[], u32bit length)
+void ECB_Encryption_ErrorCheck::write(const byte input[], size_t length)
{
input_hash->update(input, length);
buffer.copy(position, input, length);