about summary refs log tree commit diff
path: root/editor/pammixmulti.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pammixmulti.c')
-rw-r--r--editor/pammixmulti.c2
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;