commit | 13735955f39b3b304c37d2b2840663c131262c18 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Oct 08 12:43:28 2014 -0700 |
committer | Ian Rogers <irogers@google.com> | Thu Oct 09 16:05:58 2014 -0700 |
tree | 0a731ac42b8230f9929172fa3e3d8051874e2b18 | |
parent | 25b18bbdaa36ff936eb44f228f0518d4223e9d52 [diff] [blame] |
stdint types all the way! Change-Id: I4e4ef3a2002fc59ebd9097087f150eaf3f2a7e08
diff --git a/runtime/gc/allocator/rosalloc-inl.h b/runtime/gc/allocator/rosalloc-inl.h index c69ca48..dd419a4 100644 --- a/runtime/gc/allocator/rosalloc-inl.h +++ b/runtime/gc/allocator/rosalloc-inl.h
@@ -36,7 +36,7 @@ } // Check if the returned memory is really all zero. if (kCheckZeroMemory && m != nullptr) { - byte* bytes = reinterpret_cast<byte*>(m); + uint8_t* bytes = reinterpret_cast<uint8_t*>(m); for (size_t i = 0; i < size; ++i) { DCHECK_EQ(bytes[i], 0); }