rpm/rpm-4.5.90-digestlen.patch
Panu Matilainen ac1dcaabc3 Fix type mismatch causing "interesting" effects on ppc64
- patch already upstreamed, not worth pushing entire new snapshot tarball..
2008-07-12 15:02:42 +00:00

14 lines
336 B
Diff

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;