Fixing cpplint readability/casting issues
Change-Id: I6821da0e23737995a9b884a04e9b63fac640cd05
diff --git a/runtime/native/java_lang_System.cc b/runtime/native/java_lang_System.cc
index 2462f2f..30b4dc7 100644
--- a/runtime/native/java_lang_System.cc
+++ b/runtime/native/java_lang_System.cc
@@ -123,7 +123,7 @@
// Check for leftovers. Either we finished exactly, or we have one remaining 16-bit chunk.
if ((n & 0x02) != 0) {
- *(uint16_t*)d = *(uint16_t*)s;
+ *reinterpret_cast<uint16_t*>(d) = *reinterpret_cast<const uint16_t*>(s);
}
} else {
// Copy backward, starting at the end.