From fb51ee2001713ba1005884c68ca821c4c6008450 Mon Sep 17 00:00:00 2001 From: weidai Date: Wed, 13 Jul 2005 02:18:34 +0000 Subject: fix compile on MSVC 6 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@199 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- validat1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'validat1.cpp') 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; -- cgit v1.2.1