From: Cristy Date: Mon, 8 Jul 2019 14:18:28 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-54~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7df85d2b084c84d820b8b0469010a7eb42ced881;p=imagemagick ... --- 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);