diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-07-05 10:42:55 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-07-05 10:42:55 -0400 |
commit | 717a81484a7f41731a28ad417160b81bc910f123 (patch) | |
tree | 06393f6c8d3becb6502f9f251cff6a762532ccf8 /rabbit.cpp | |
parent | c9c51a5e01ea574c2301963cc62c09d8eb1ed9f2 (diff) | |
download | cryptopp-git-717a81484a7f41731a28ad417160b81bc910f123.tar.gz |
Switch to size_t datatype
Diffstat (limited to 'rabbit.cpp')
-rw-r--r-- | rabbit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,7 @@ void RabbitPolicy::CipherSetKey(const NameValuePairs ¶ms, const byte *userKe void RabbitPolicy::OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount)
{
byte* out = output;
- for (unsigned int i = 0; i<iterationCount; ++i, out += 16)
+ for (size_t i = 0; i<iterationCount; ++i, out += 16)
{
/* Iterate the system */
m_wcy = NextState(m_wc, m_wx, m_wcy);
|