From 42446ea972c7b833d933d2e4ae176a4bd0eb5635 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Thu, 25 Oct 2012 18:56:15 +0200 Subject: [PATCH] let loop variable be size_t as we're comparing with size_t --- ykpbkdf2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ykpbkdf2.c b/ykpbkdf2.c index e64d582..1b0ce0c 100644 --- a/ykpbkdf2.c +++ b/ykpbkdf2.c @@ -68,7 +68,7 @@ int yk_pbkdf2(const char *passphrase, unsigned char block[256]; /* A big chunk, that's 2048 bits */ size_t block_len; unsigned int iteration; - int i; + size_t i; memcpy(block, salt, salt_len); block[salt_len + 0] = (block_count & 0xff000000) >> 24; -- 2.39.5