mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-28 07:12:17 +00:00
Changes and fixes for Boost 1.37
[SVN r49323]
This commit is contained in:
@@ -72,7 +72,7 @@ int main ()
|
||||
mapped_region region(mapping, read_write, 0, FileSize/2, 0);
|
||||
mapped_region region2(mapping, read_write, 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
|
||||
@@ -83,7 +83,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