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 /hc256.cpp | |
parent | c9c51a5e01ea574c2301963cc62c09d8eb1ed9f2 (diff) | |
download | cryptopp-git-717a81484a7f41731a28ad417160b81bc910f123.tar.gz |
Switch to size_t datatype
Diffstat (limited to 'hc256.cpp')
-rw-r--r-- | hc256.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ void HC256Policy::OperateKeystream(KeystreamOperation operation, byte *output, c {
size_t msglen = GetBytesPerIteration() * iterationCount;
byte* out = output;
- for (unsigned int i = 0; i < (msglen >> 2); i++, out += 4)
+ for (size_t i = 0; i < (msglen >> 2); i++, out += 4)
PutWord(false, LITTLE_ENDIAN_ORDER, out, Generate());
// If AdditiveCipherTemplate does not have an accumulated keystream
|