From 7df85d2b084c84d820b8b0469010a7eb42ced881 Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 8 Jul 2019 10:18:28 -0400 Subject: [PATCH] ... --- MagickCore/random.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MagickCore/random.c b/MagickCore/random.c index a876157f0..a4d13cedb 100644 --- a/MagickCore/random.c +++ b/MagickCore/random.c @@ -160,7 +160,6 @@ static StringInfo % RandomInfo *AcquireRandomInfo(void) % */ - MagickExport RandomInfo *AcquireRandomInfo(void) { const StringInfo @@ -381,10 +380,10 @@ static StringInfo *GenerateEntropicChaos(RandomInfo *random_info) SetStringInfoDatum(chaos,(unsigned char *) &tid); ConcatenateStringInfo(entropy,chaos); #if defined(MAGICKCORE_HAVE_SYSCONF) && defined(_SC_PHYS_PAGES) - { + { ssize_t pages; - + pages=(ssize_t) sysconf(_SC_PHYS_PAGES); SetStringInfoLength(chaos,sizeof(pages)); SetStringInfoDatum(chaos,(unsigned char *) &pages); -- 2.40.0