- cast to unsigned int for all calls to srand

This commit is contained in:
Mark Vejvoda
2012-10-30 17:12:04 +00:00
parent 69b5f9b39c
commit 5c15a0e9f4
8 changed files with 14 additions and 21 deletions

View File

@@ -440,7 +440,6 @@ const string Properties::getRandomKey(const bool realrandom) const{
int max=getPropertyCount();
int randomIndex=-1;
if(realrandom == true){
//srand((unsigned int)time(NULL));
Chrono seed(true);
srand((unsigned int)seed.getCurTicks());