From fb113f67b975086b67e48a400414d6e0fa3e66c3 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 13 Nov 2014 20:07:06 +0000 Subject: [PATCH] Un-break the big-endian buildbots git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221919 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Object/COFFObjectFile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.34.1