From b35771a0b75998edb086fb147ca36ac8a39c21de Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 26 Apr 2016 14:17:26 +0000 Subject: Use pm_randseed instead of srand git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2719 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- editor/specialty/pampaintspill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/specialty') 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 = -- cgit 1.4.1