From 25522f1399c2d8332391744648ce5f7a3f942d54 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 18 Oct 2000 00:28:39 +0000 Subject: [PATCH] Remove lint --- libraries/liblutil/entropy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.39.5