summaryrefslogtreecommitdiff
path: root/bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench.cpp')
-rw-r--r--bench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench.cpp b/bench.cpp
index c75d470..4e69c20 100644
--- a/bench.cpp
+++ b/bench.cpp
@@ -140,7 +140,7 @@ void BenchMark(const char *name, HashTransformation &ht, double timeTotal)
{
const int BUF_SIZE=1024;
SecByteBlock buf(BUF_SIZE);
- LC_RNG rng(time(NULL));
+ LC_RNG rng((word32)time(NULL));
rng.GenerateBlock(buf, BUF_SIZE);
clock_t start = clock();
@@ -162,7 +162,7 @@ void BenchMark(const char *name, BufferedTransformation &bt, double timeTotal)
{
const int BUF_SIZE=1024;
SecByteBlock buf(BUF_SIZE);
- LC_RNG rng(time(NULL));
+ LC_RNG rng((word32)time(NULL));
rng.GenerateBlock(buf, BUF_SIZE);
clock_t start = clock();