fix compile on MSVC 6

pull/2/head
weidai 2005-07-13 02:18:34 +00:00
parent 1db8ea5084
commit 9cd298bc8b
1 changed files with 2 additions and 2 deletions

View File

@ -300,7 +300,7 @@ bool TestOS_RNG()
} }
else else
cout << "passed:"; 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 else
cout << "\nNo operating system provided blocking random number generator, skipping test." << endl; cout << "\nNo operating system provided blocking random number generator, skipping test." << endl;
@ -325,7 +325,7 @@ bool TestOS_RNG()
} }
else else
cout << "passed:"; 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 else
cout << "\nNo operating system provided nonblocking random number generator, skipping test." << endl; cout << "\nNo operating system provided nonblocking random number generator, skipping test." << endl;