diff options
Diffstat (limited to 'lib/rand.c')
-rw-r--r-- | lib/rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rand.c b/lib/rand.c index b6f40ac0a..2713a0aa3 100644 --- a/lib/rand.c +++ b/lib/rand.c @@ -86,7 +86,7 @@ static CURLcode randit(struct Curl_easy *data, unsigned int *rnd) #endif if(!seeded) { - struct timeval now = curlx_tvnow(); + struct curltime now = curlx_tvnow(); infof(data, "WARNING: Using weak random seed\n"); randseed += (unsigned int)now.tv_usec + (unsigned int)now.tv_sec; randseed = randseed * 1103515245 + 12345; |