diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-09-16 02:42:13 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-09-16 02:42:13 +0000 |
commit | d683501e89c17b4c6613b5268dc5e3111bd8a20d (patch) | |
tree | 54ac979af280826153aed0bf52cbfd7463ec1dc9 /editor | |
parent | 01ef0bcd565cd27eb2356f21a38e1a9fd3eeb782 (diff) | |
download | netpbm-mirror-d683501e89c17b4c6613b5268dc5e3111bd8a20d.tar.gz netpbm-mirror-d683501e89c17b4c6613b5268dc5e3111bd8a20d.tar.xz netpbm-mirror-d683501e89c17b4c6613b5268dc5e3111bd8a20d.zip |
Fix -randomseed
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3961 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rw-r--r-- | editor/pammixmulti.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |