| Index: src/platform-linux.cc
|
| diff --git a/src/platform-linux.cc b/src/platform-linux.cc
|
| index ef97449b6506d28569b833c930589b26f8c3d6ca..b27c1fd1d8edf07e427ca4406040352d60aa891f 100644
|
| --- a/src/platform-linux.cc
|
| +++ b/src/platform-linux.cc
|
| @@ -569,7 +569,7 @@ Semaphore* OS::CreateSemaphore(int count) {
|
|
|
| void OS::SetUp() {
|
| // Seed the random number generator. We preserve microsecond resolution.
|
| - uint64_t seed = Ticks() ^ (getpid() << 16);
|
| + uint64_t seed = static_cast<uint64_t>(TimeCurrentMillis()) ^ (getpid() << 16);
|
| srandom(static_cast<unsigned int>(seed));
|
| limit_mutex = CreateMutex();
|
| }
|
|
|