From cb32670b6f63ed0470791f4f686394848bd3faa4 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Wed, 19 Sep 2012 08:45:46 +0200 Subject: [PATCH] change to size_t to match function returns --- ykpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ykpers.c b/ykpers.c index 7b43081..4a6858c 100644 --- a/ykpers.c +++ b/ykpers.c @@ -263,7 +263,7 @@ int ykp_AES_key_from_hex(YKP_CONFIG *cfg, const char *hexkey) { */ int ykp_HMAC_key_from_hex(YKP_CONFIG *cfg, const char *hexkey) { char aesbin[256]; - int i; + size_t i; /* Make sure that the hexkey is exactly 40 characters */ if (strlen(hexkey) != 40) { -- 2.39.5