summaryrefslogtreecommitdiff
path: root/hc256.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hc256.cpp')
-rw-r--r--hc256.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hc256.cpp b/hc256.cpp
index 5a1750ca..1cdc0cb2 100644
--- a/hc256.cpp
+++ b/hc256.cpp
@@ -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