diff options
Diffstat (limited to 'JavaScriptCore/wtf/RandomNumberSeed.h')
-rw-r--r-- | JavaScriptCore/wtf/RandomNumberSeed.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/JavaScriptCore/wtf/RandomNumberSeed.h b/JavaScriptCore/wtf/RandomNumberSeed.h index b53b506..9ea7c71 100644 --- a/JavaScriptCore/wtf/RandomNumberSeed.h +++ b/JavaScriptCore/wtf/RandomNumberSeed.h @@ -53,7 +53,7 @@ inline void initializeRandomNumberGenerator() // On Darwin we use arc4random which initialises itself. #elif OS(WINCE) // initialize rand() - srand(static_cast<unsigned>(time(0))); + srand(GetTickCount()); // use rand() to initialize the real RNG unsigned long initializationBuffer[4]; |