From aa520ab1cb5d6b9a72d186ded1bff22e31ae1e88 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 31 Jan 2006 01:58:12 +0000 Subject: [PATCH] silence compiler warning --- lib/isc/sha2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/isc/sha2.c b/lib/isc/sha2.c index ea776a248a..d3fcf4f579 100644 --- a/lib/isc/sha2.c +++ b/lib/isc/sha2.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: sha2.c,v 1.5 2006/01/31 00:35:21 marka Exp $ */ +/* $Id: sha2.c,v 1.6 2006/01/31 01:58:12 marka Exp $ */ /* $FreeBSD: src/sys/crypto/sha2/sha2.c,v 1.2.2.2 2002/03/05 08:36:47 ume Exp $ */ /* $KAME: sha2.c,v 1.8 2001/11/08 01:07:52 itojun Exp $ */ @@ -1104,7 +1104,7 @@ isc_sha384_final(isc_uint8_t digest[], isc_sha384_t *context) { char * isc_sha384_end(isc_sha384_t *context, char buffer[]) { isc_uint8_t digest[ISC_SHA384_DIGESTLENGTH], *d = digest; - int i; + unsigned int i; /* Sanity check: */ REQUIRE(context != (isc_sha384_t *)0);