From d683501e89c17b4c6613b5268dc5e3111bd8a20d Mon Sep 17 00:00:00 2001 From: giraffedata Date: Wed, 16 Sep 2020 02:42:13 +0000 Subject: Fix -randomseed git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3961 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- editor/pammixmulti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') diff --git a/editor/pammixmulti.c b/editor/pammixmulti.c index d063d96c..f5012d7a 100644 --- a/editor/pammixmulti.c +++ b/editor/pammixmulti.c @@ -243,7 +243,7 @@ blendTuplesRandom(struct ProgramState * const stateP, from a random input image. -----------------------------------------------------------------------------*/ unsigned int const depth = stateP->inPam[0].depth; - unsigned int const img = (unsigned int) (random() % stateP->inFileCt); + unsigned int const img = (unsigned int) (rand() % stateP->inFileCt); unsigned int samp; -- cgit 1.4.1