diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2005-07-13 02:18:34 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2005-07-13 02:18:34 +0000 |
commit | fb51ee2001713ba1005884c68ca821c4c6008450 (patch) | |
tree | eb3836adde57878c1627f6e4a9b348eb4bb72978 /validat1.cpp | |
parent | d5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47 (diff) | |
download | cryptopp-fb51ee2001713ba1005884c68ca821c4c6008450.tar.gz |
fix compile on MSVC 6
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@199 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'validat1.cpp')
-rw-r--r-- | validat1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/validat1.cpp b/validat1.cpp index baadb46..f337ca1 100644 --- a/validat1.cpp +++ b/validat1.cpp @@ -300,7 +300,7 @@ bool TestOS_RNG() } else cout << "passed:"; - cout << " " << total << " generated bytes compressed to " << sink->TotalPutLength() << " bytes by DEFLATE" << endl; + cout << " " << total << " generated bytes compressed to " << (size_t)sink->TotalPutLength() << " bytes by DEFLATE" << endl; } else cout << "\nNo operating system provided blocking random number generator, skipping test." << endl; @@ -325,7 +325,7 @@ bool TestOS_RNG() } else cout << "passed:"; - cout << " 100000 generated bytes compressed to " << sink->TotalPutLength() << " bytes by DEFLATE" << endl; + cout << " 100000 generated bytes compressed to " << (size_t)sink->TotalPutLength() << " bytes by DEFLATE" << endl; } else cout << "\nNo operating system provided nonblocking random number generator, skipping test." << endl; |