diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2005-07-12 04:23:32 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2005-07-12 04:23:32 +0000 |
commit | d5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47 (patch) | |
tree | 4b03760892a97a9bc452ebe8b7793bbebd402ad4 /bench.cpp | |
parent | fa39f51809b4da54a5c2adb3e183b1a625cefb92 (diff) | |
download | cryptopp-d5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47.tar.gz |
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
Diffstat (limited to 'bench.cpp')
-rw-r--r-- | bench.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); |