summaryrefslogtreecommitdiff
path: root/tests/tget_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tget_str.c')
-rw-r--r--tests/tget_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tget_str.c b/tests/tget_str.c
index 0e984eef7..51ee0a99d 100644
--- a/tests/tget_str.c
+++ b/tests/tget_str.c
@@ -108,7 +108,7 @@ main (int argc, char *argv[])
#ifdef TEST
int i; double d;
- SEED_RAND (getpid ());
+ SEED_RAND (time(NULL));
for (i=0;i<100000;i++) {
do { d = drand(); } while (isnan(d));
check(d, GMP_RNDN);