Merge pull request #225 from svost/msvc-C4244
[novacoin.git] / src / util.cpp
index 43c8038..ed7b34d 100644 (file)
@@ -1155,7 +1155,7 @@ string randomStrGen(int length) {
 
 void createConf()
 {
-    srand(time(NULL));
+    srand(static_cast<unsigned int>(time(NULL)));
 
     ofstream pConf;
 #if BOOST_FILESYSTEM_VERSION >= 3