From a3081025853ed144b97cc3c8aa33b4c48bd57f43 Mon Sep 17 00:00:00 2001 From: David Williams Date: Wed, 7 Aug 2013 14:53:08 +0200 Subject: [PATCH] VS2012 compile warning fix. --- library/PolyVoxCore/include/PolyVoxCore/FilePager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/PolyVoxCore/include/PolyVoxCore/FilePager.h b/library/PolyVoxCore/include/PolyVoxCore/FilePager.h index 3e087b5f..b8bb7b97 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/FilePager.h +++ b/library/PolyVoxCore/include/PolyVoxCore/FilePager.h @@ -49,7 +49,7 @@ namespace PolyVox :Pager() ,m_strFolderName(strFolderName) { - srand(time(0)); + srand(static_cast(time(0))); int iRandomValue = rand(); std::stringstream ss;