From: Kurt Zeilenga Date: Wed, 18 Oct 2000 00:28:39 +0000 (+0000) Subject: Remove lint X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1712 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=25522f1399c2d8332391744648ce5f7a3f942d54;p=openldap Remove lint --- diff --git a/libraries/liblutil/entropy.c b/libraries/liblutil/entropy.c index 46907b0af9..1460913012 100644 --- a/libraries/liblutil/entropy.c +++ b/libraries/liblutil/entropy.c @@ -96,7 +96,7 @@ int lutil_entropy( unsigned char *buf, ber_len_t nbytes ) struct rdata_s { int counter; - char *buf; + unsigned char *buf; struct rdata_s *stack; pid_t pid; @@ -134,10 +134,10 @@ int lutil_entropy( unsigned char *buf, ber_len_t nbytes ) rdata.junk++; lutil_MD5Init( &ctx ); - lutil_MD5Update( &ctx, (char *) &rdata, sizeof( rdata ) ); + lutil_MD5Update( &ctx, (unsigned char *) &rdata, sizeof( rdata ) ); /* allow caller to provided additional entropy */ - lutil_MD5Update( &ctx, (char *) &buf, nbytes ); + lutil_MD5Update( &ctx, buf, nbytes ); lutil_MD5Final( digest, &ctx );