mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Changes and fixes for Boost 1.37
[SVN r49277]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user