Ignore:
Timestamp:
Sep 13, 2007, 12:07:10 PM (18 years ago)
Author:
ggaren
Message:

Try to fix GDK build.

  • wtf/MathExtras.h: (wtf_random_init):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/MathExtras.h

    r25541 r25542  
    2828
    2929#include <math.h>
     30#include <time.h>
    3031
    3132#if COMPILER(MSVC)
     
    125126inline void wtf_random_init()
    126127{
    127     srand(time(0));
     128    srand(static_cast<unsigned>(time(0)));
    128129}
    129130
Note: See TracChangeset for help on using the changeset viewer.