Remove more lint, mostly C-style casts.
Change-Id: Iaf1f23290e35ed48e5795fb20690953a9a834457
diff --git a/src/card_table.cc b/src/card_table.cc
index dc61c0a..d442306 100644
--- a/src/card_table.cc
+++ b/src/card_table.cc
@@ -68,7 +68,8 @@
// We allocated up to a bytes worth of extra space to allow biased_begin's byte value to equal
// GC_CARD_DIRTY, compute a offset value to make this the case
size_t offset = 0;
- byte* biased_begin = (byte *)((uintptr_t)cardtable_begin -((uintptr_t)heap_begin >> GC_CARD_SHIFT));
+ byte* biased_begin = reinterpret_cast<byte*>(reinterpret_cast<uintptr_t>(cardtable_begin) -
+ (reinterpret_cast<uintptr_t>(heap_begin) >> GC_CARD_SHIFT));
if (((uintptr_t)biased_begin & 0xff) != GC_CARD_DIRTY) {
int delta = GC_CARD_DIRTY - (reinterpret_cast<int>(biased_begin) & 0xff);
offset = delta + (delta < 0 ? 0x100 : 0);