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/native/java_lang_System.cc | |
parent | 751d4ed43e8118f145edf18db4d987daf7dabbae (diff) | |
download | android_art-2d88862f0752a7a0e65145b088f49dabd49d4284.tar.gz android_art-2d88862f0752a7a0e65145b088f49dabd49d4284.tar.bz2 android_art-2d88862f0752a7a0e65145b088f49dabd49d4284.zip |
Fixing cpplint readability/casting issues
Change-Id: I6821da0e23737995a9b884a04e9b63fac640cd05
Diffstat (limited to 'runtime/native/java_lang_System.cc')
-rw-r--r-- | runtime/native/java_lang_System.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<uint16_t*>(d) = *reinterpret_cast<const uint16_t*>(s); } } else { // Copy backward, starting at the end. |