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/thread_x86.cc | |
parent | 751d4ed43e8118f145edf18db4d987daf7dabbae (diff) | |
download | art-2d88862f0752a7a0e65145b088f49dabd49d4284.zip art-2d88862f0752a7a0e65145b088f49dabd49d4284.tar.gz art-2d88862f0752a7a0e65145b088f49dabd49d4284.tar.bz2 |
Fixing cpplint readability/casting issues
Change-Id: I6821da0e23737995a9b884a04e9b63fac640cd05
Diffstat (limited to 'runtime/thread_x86.cc')
-rw-r--r-- | runtime/thread_x86.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/thread_x86.cc b/runtime/thread_x86.cc index 959f317..c398b28 100644 --- a/runtime/thread_x86.cc +++ b/runtime/thread_x86.cc @@ -73,7 +73,7 @@ void Thread::InitCpu() { entry.d = seg_32bit; entry.g = limit_in_pages; - entry_number = i386_set_ldt(LDT_AUTO_ALLOC, (ldt_entry*)(void*)(&entry), 1); + entry_number = i386_set_ldt(LDT_AUTO_ALLOC, reinterpret_cast<ldt_entry*>(&entry), 1); if (entry_number == -1) { PLOG(FATAL) << "i386_set_ldt failed"; } |