From 8d7b6439ae1abda6589ce19ae9c2576181c990d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Mon, 5 Sep 2016 15:46:29 +0200 Subject: [PATCH] Fix signed / unsigned mismatch. --- t/t_rc4.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/t_rc4.c b/t/t_rc4.c index 22f5c65..aee64a2 100644 --- a/t/t_rc4.c +++ b/t/t_rc4.c @@ -1967,7 +1967,8 @@ t_rc4(char **desc CRYB_UNUSED, void *arg) struct t_case *t = arg; rc4_ctx ctx; uint8_t out[16]; - unsigned int i, offset; + unsigned int i; + off_t offset; int ret = 1; rc4_init(&ctx, CIPHER_MODE_ENCRYPT, t->key, t->keylen);