Fixed warnings at highest warning level

[SVN r57698]
This commit is contained in:
Robert Ramey
2009-11-16 05:17:25 +00:00
parent c61537a7dd
commit 9bcaba922c
59 changed files with 130 additions and 86 deletions

View File

@@ -8,7 +8,7 @@
// should pass compilation and execution
#include <cstdlib> // for rand(), NULL
#include <cstdlib> // for rand(), NULL, size_t
#include <fstream>
#include <boost/config.hpp>
@@ -48,7 +48,7 @@ public:
A::A(){
int i = sizeof(data);
while(i-- > 0)
data[i] = 0xff & std::rand();
data[i] = static_cast<char>(0xff & std::rand());
}
bool A::operator==(const A & rhs) const {