Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2009, 10:00:15 AM (15 years ago)
Author:
rgrieder
Message:

Replaced <OgrePrerequisites.h> with "util/OgreForwardRefs.h": I haven't yet realised that OgrePrerequisites.h includes about every single std header by including the OgreMemoryManager.h file.
And while at it, I took care of some type conversions (partially revealed by the missing OgrePrerequisites.h that disabled warnings)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/core/Core.cc

    r3166 r3192  
    367367        if (!bInitialized && this->bInitializeRandomNumberGenerator_)
    368368        {
    369             srand(time(0));
     369            srand(static_cast<unsigned int>(time(0)));
    370370            rand();
    371371            bInitialized = true;
Note: See TracChangeset for help on using the changeset viewer.