VS2012 compile warning fix.

This commit is contained in:
David Williams 2013-08-07 14:53:08 +02:00
parent acf5bef5e7
commit a308102585

View File

@ -49,7 +49,7 @@ namespace PolyVox
:Pager<VoxelType>() :Pager<VoxelType>()
,m_strFolderName(strFolderName) ,m_strFolderName(strFolderName)
{ {
srand(time(0)); srand(static_cast<unsigned int>(time(0)));
int iRandomValue = rand(); int iRandomValue = rand();
std::stringstream ss; std::stringstream ss;