Un-break the big-endian buildbots
llvm-svn: 221919
diff --git a/llvm/lib/Object/COFFObjectFile.cpp b/llvm/lib/Object/COFFObjectFile.cpp
index dccc467..68bf7fd 100644
--- a/llvm/lib/Object/COFFObjectFile.cpp
+++ b/llvm/lib/Object/COFFObjectFile.cpp
@@ -1283,9 +1283,9 @@
if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr))
return EC;
if (OwningObject->is64())
- Result = *reinterpret_cast<const uint64_t *>(IntPtr);
+ Result = *reinterpret_cast<const ulittle64_t *>(IntPtr);
else
- Result = *reinterpret_cast<const uint32_t *>(IntPtr);
+ Result = *reinterpret_cast<const ulittle32_t *>(IntPtr);
return object_error::success;
}