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;