summaryrefslogtreecommitdiff
path: root/tea.h
diff options
context:
space:
mode:
Diffstat (limited to 'tea.h')
-rw-r--r--tea.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tea.h b/tea.h
index dc1f215..c05c98a 100644
--- a/tea.h
+++ b/tea.h
@@ -98,7 +98,7 @@ class BTEA : public BTEA_Info, public BlockCipherDocumentation
{
public:
template <class T>
- static inline void CheckedSetKey(T *obj, CipherDir dir, const byte *key, unsigned int length, const NameValuePairs &param)
+ static inline void CheckedSetKey(T *obj, CipherDir dir, const byte *key, size_t length, const NameValuePairs &param)
{
obj->ThrowIfInvalidKeyLength(length);
obj->m_blockSize = param.GetIntValueWithDefault("BlockSize", 60*4);