summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSChernykh <sergey.v.chernykh@gmail.com>2017-07-18 08:19:31 +0200
committerGitHub <noreply@github.com>2017-07-18 08:19:31 +0200
commit752d1b8a1cf595d6e00c12b421ad8d6fd5d18fbe (patch)
tree830c00152bbcb09935eb9d676c00e38e7df30875
parentf5c2757b04c54636e442b62d9fd8b02999da03a8 (diff)
downloadxmr-stak-752d1b8a1cf595d6e00c12b421ad8d6fd5d18fbe.zip
xmr-stak-752d1b8a1cf595d6e00c12b421ad8d6fd5d18fbe.tar.gz
std::srand -> srand
-rw-r--r--cli-miner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli-miner.cpp b/cli-miner.cpp
index 2dc5173..45d2c16 100644
--- a/cli-miner.cpp
+++ b/cli-miner.cpp
@@ -41,7 +41,7 @@
#include <stdio.h>
#include <string.h>
-#include <ctime>
+#include <time.h>
#ifndef CONF_NO_TLS
#include <openssl/ssl.h>
@@ -76,7 +76,7 @@ int main(int argc, char *argv[])
OpenSSL_add_all_digests();
#endif
- std::srand(std::time(0));
+ srand(time(0));
const char* sFilename = "config.txt";
bool benchmark_mode = false;
OpenPOWER on IntegriCloud