diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-04-26 14:17:26 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-04-26 14:17:26 +0000 |
commit | b35771a0b75998edb086fb147ca36ac8a39c21de (patch) | |
tree | 25bddf0cc7b0fddb549ef2d52a96c15fc0e1ca9a /editor/specialty | |
parent | 30e4e36d7e8d0371d18c8da632bd26658859fbb4 (diff) | |
download | netpbm-mirror-b35771a0b75998edb086fb147ca36ac8a39c21de.tar.gz netpbm-mirror-b35771a0b75998edb086fb147ca36ac8a39c21de.tar.xz netpbm-mirror-b35771a0b75998edb086fb147ca36ac8a39c21de.zip |
Use pm_randseed instead of srand
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2719 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/specialty')
-rw-r--r-- | editor/specialty/pampaintspill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/specialty/pampaintspill.c b/editor/specialty/pampaintspill.c index 745c9b68..eb1888f7 100644 --- a/editor/specialty/pampaintspill.c +++ b/editor/specialty/pampaintspill.c @@ -253,7 +253,7 @@ locatePaintSources(struct pam * const pamP, if (downsample > 0 && downsample < paintSources.size) { unsigned int i; - srand(time(NULL)); + srand(pm_randseed()); for (i = 0; i < downsample; ++i) { unsigned int const swapIdx = |