More warning cleanup (type to type conversion warnings).

This commit is contained in:
wrenczes@gmail.com
2011-06-02 06:14:28 +00:00
parent 4018d17370
commit 90b1058ad5
13 changed files with 26 additions and 18 deletions

View File

@@ -219,7 +219,8 @@ void GameStateDuel::loadPlayer(int playerId, int decknb, bool isAI, bool isNetwo
void GameStateDuel::initRand(unsigned int seed)
{
if (!seed) seed = time(0);
if (!seed)
seed = static_cast<unsigned int>(time(0));
srand(seed);
}