git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge pull request #225 from svost/msvc-C4244
[novacoin.git]
/
src
/
util.cpp
diff --git
a/src/util.cpp
b/src/util.cpp
index
43c8038
..
ed7b34d
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-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