diff options
author | Brian Carlstrom <bdc@google.com> | 2013-07-18 17:02:00 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2013-07-18 17:02:52 -0700 |
commit | 2d88862f0752a7a0e65145b088f49dabd49d4284 (patch) | |
tree | 3fac6bbd9a0ff3836f361e46579151c8a93420b6 /runtime/common_test.h | |
parent | 751d4ed43e8118f145edf18db4d987daf7dabbae (diff) | |
download | art-2d88862f0752a7a0e65145b088f49dabd49d4284.zip art-2d88862f0752a7a0e65145b088f49dabd49d4284.tar.gz art-2d88862f0752a7a0e65145b088f49dabd49d4284.tar.bz2 |
Fixing cpplint readability/casting issues
Change-Id: I6821da0e23737995a9b884a04e9b63fac640cd05
Diffstat (limited to 'runtime/common_test.h')
-rw-r--r-- | runtime/common_test.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/common_test.h b/runtime/common_test.h index 778ca63..03a45aa 100644 --- a/runtime/common_test.h +++ b/runtime/common_test.h @@ -508,7 +508,8 @@ class CommonTest : public testing::Test { void ReserveImageSpace() { // Reserve where the image will be loaded up front so that other parts of test set up don't // accidentally end up colliding with the fixed memory address when we need to load the image. - image_reservation_.reset(MemMap::MapAnonymous("image reservation", (byte*)ART_BASE_ADDRESS, + image_reservation_.reset(MemMap::MapAnonymous("image reservation", + reinterpret_cast<byte*>(ART_BASE_ADDRESS), (size_t)100 * 1024 * 1024, // 100MB PROT_NONE)); } |