summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/aes.c b/aes.c
index 3cf09ba..12b9661 100644
--- a/aes.c
+++ b/aes.c
@@ -609,7 +609,8 @@ void AES_CTR_xcrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, con
Key = key;
KeyExpansion();
- int i, j;
+ int j;
+ unsigned i;
for (i = 0; i < length; ++i)
{
if ((i & (BLOCKLEN - 1)) == 0)