From 717a81484a7f41731a28ad417160b81bc910f123 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 5 Jul 2018 10:42:55 -0400 Subject: Switch to size_t datatype --- hc256.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hc256.cpp') 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 -- cgit v1.2.1