From d5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47 Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 12 Jul 2005 04:23:32 +0000 Subject: port to MSVC .NET 2005 beta 2 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@198 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- bench.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench.cpp') 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(); -- cgit v1.2.1