- cleaned up some warnings from VC++ compiler

This commit is contained in:
Mark Vejvoda
2012-10-06 02:40:24 +00:00
parent c39da4cd69
commit 97ba1a27e2
10 changed files with 20 additions and 20 deletions

View File

@@ -427,7 +427,7 @@ const string Properties::getRandomKey(const bool realrandom) const{
if(realrandom == true){
//srand((unsigned int)time(NULL));
Chrono seed(true);
srand(seed.getCurTicks());
srand((unsigned int)seed.getCurTicks());
randomIndex=rand()%max;
}