From 2d88862f0752a7a0e65145b088f49dabd49d4284 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Thu, 18 Jul 2013 17:02:00 -0700 Subject: Fixing cpplint readability/casting issues Change-Id: I6821da0e23737995a9b884a04e9b63fac640cd05 --- runtime/native/java_lang_System.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/native/java_lang_System.cc') diff --git a/runtime/native/java_lang_System.cc b/runtime/native/java_lang_System.cc index 2462f2fd8e..30b4dc7ef5 100644 --- a/runtime/native/java_lang_System.cc +++ b/runtime/native/java_lang_System.cc @@ -123,7 +123,7 @@ void MemmoveWords(void* dst, const void* src, size_t n) { // 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(d) = *reinterpret_cast(s); } } else { // Copy backward, starting at the end. -- cgit v1.2.3-59-g8ed1b