From 7d94ac3b23bcb6b8c902a53b656f28116fe865a4 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 29 Sep 2001 03:12:51 +0000 Subject: [PATCH] Found type mismatch in random.c. Please apply this also. Marko Kreen --- contrib/pgcrypto/random.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/pgcrypto/random.c b/contrib/pgcrypto/random.c index 337d63ed0fa..179d450ef9b 100644 --- a/contrib/pgcrypto/random.c +++ b/contrib/pgcrypto/random.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: random.c,v 1.1 2001/09/23 04:12:44 momjian Exp $ + * $Id: random.c,v 1.2 2001/09/29 03:12:51 momjian Exp $ */ @@ -80,7 +80,7 @@ px_get_random_bytes(uint8 *dst, unsigned count) #ifdef RAND_SILLY -int px_get_random_bytes(char *dst, unsigned count) +int px_get_random_bytes(uint8 *dst, unsigned count) { int i; for (i = 0; i < count; i++) {