From: Klas Lindfors Date: Thu, 25 Oct 2012 16:56:15 +0000 (+0200) Subject: let loop variable be size_t as we're comparing with size_t X-Git-Tag: v1.9.0~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42446ea972c7b833d933d2e4ae176a4bd0eb5635;p=yubikey-personalization let loop variable be size_t as we're comparing with size_t --- 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;