From b256dc9e25dc7e9f9886edab0f3c8ceef8a4b27c Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Sat, 12 Jul 2008 17:57:51 +0300 Subject: [PATCH] NSS uses unsigned int, not size_t for hash lengths - broke ppc64 in entertaining ways... --- rpmio/digest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpmio/digest.c b/rpmio/digest.c index c360919..64b678b 100644 --- a/rpmio/digest.c +++ b/rpmio/digest.c @@ -123,7 +123,7 @@ int rpmDigestFinal(DIGEST_CTX ctx, void ** datap, size_t *lenp, int asAscii) { unsigned char * digest; - size_t digestlen; + unsigned int digestlen; if (ctx == NULL) return -1; -- 2.7.4