From 9cd298bc8beb482c03331b8d3569439965b74c2f Mon Sep 17 00:00:00 2001 From: weidai Date: Wed, 13 Jul 2005 02:18:34 +0000 Subject: [PATCH] fix compile on MSVC 6 --- validat1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validat1.cpp b/validat1.cpp index baadb46a..f337ca18 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;