aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/cast/cast128.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/cast/cast128.cpp')
-rw-r--r--src/block/cast/cast128.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/cast/cast128.cpp b/src/block/cast/cast128.cpp
index 538c1bd5b..24469e025 100644
--- a/src/block/cast/cast128.cpp
+++ b/src/block/cast/cast128.cpp
@@ -116,7 +116,7 @@ void CAST_128::decrypt_n(const byte in[], byte out[], size_t blocks) const
/*
* CAST-128 Key Schedule
*/
-void CAST_128::key_schedule(const byte key[], u32bit length)
+void CAST_128::key_schedule(const byte key[], size_t length)
{
clear();
SecureVector<u32bit> X(4);