mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-20 02:34:48 +00:00
Reverting r 160419.
llvm-svn: 160525
This commit is contained in:
parent
6d82adeada
commit
93e0e20314
@ -44,8 +44,7 @@ static void ReadInMemoryStruct(const MachOObject &MOO,
|
||||
}
|
||||
|
||||
// Check whether we can return a direct pointer.
|
||||
struct_type *Ptr =
|
||||
const_cast<struct_type *>((const struct_type *)(Buffer.data() + Base));
|
||||
struct_type *Ptr = (struct_type *) (Buffer.data() + Base);
|
||||
if (!MOO.isSwappedEndian()) {
|
||||
Res = Ptr;
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user