Changes and fixes for Boost 1.37

[SVN r49277]
This commit is contained in:
Ion Gaztañaga
2008-10-11 13:18:02 +00:00
parent 02d366387b
commit dc0eb8fe0e
41 changed files with 1536 additions and 206 deletions

View File

@@ -68,7 +68,7 @@ int main ()
mapped_region region (mapping, read_only, 0, FileSize/2, 0);
mapped_region region2(mapping, read_only, FileSize/2, FileSize - FileSize/2, 0);
unsigned char *checker = (unsigned char*)region.get_address();
unsigned char *checker = static_cast<unsigned char*>(region.get_address());
//Check pattern
for(std::size_t i = 0
;i < FileSize/2
@@ -79,7 +79,7 @@ int main ()
}
//Check second half
checker = (unsigned char *)region2.get_address();
checker = static_cast<unsigned char *>(region2.get_address());
//Check pattern
for(std::size_t i = FileSize/2