From: Rui Ueyama Date: Thu, 13 Nov 2014 20:07:06 +0000 (+0000) Subject: Un-break the big-endian buildbots X-Git-Tag: android-x86-7.1-r4~55528 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=fb113f67b975086b67e48a400414d6e0fa3e66c3;p=android-x86%2Fexternal-llvm.git Un-break the big-endian buildbots git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221919 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Object/COFFObjectFile.cpp b/lib/Object/COFFObjectFile.cpp index dccc46765be..68bf7fd7f1c 100644 --- a/lib/Object/COFFObjectFile.cpp +++ b/lib/Object/COFFObjectFile.cpp @@ -1283,9 +1283,9 @@ getImportAddress(int AddrIndex, uint64_t &Result) const { if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr)) return EC; if (OwningObject->is64()) - Result = *reinterpret_cast(IntPtr); + Result = *reinterpret_cast(IntPtr); else - Result = *reinterpret_cast(IntPtr); + Result = *reinterpret_cast(IntPtr); return object_error::success; }