mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fix bogus assert condition noticed by Csaba Raduly.
llvm-svn: 124645
This commit is contained in:
parent
f8b2388751
commit
3689d1302d
@ -185,8 +185,8 @@ public:
|
||||
if (is64Bit())
|
||||
Write32(0); // reserved
|
||||
|
||||
assert(OS.tell() - Start == is64Bit() ?
|
||||
macho::Header64Size : macho::Header32Size);
|
||||
assert(OS.tell() - Start ==
|
||||
(is64Bit() ? macho::Header64Size : macho::Header32Size));
|
||||
}
|
||||
|
||||
/// WriteSegmentLoadCommand - Write a segment load command.
|
||||
|
Loading…
Reference in New Issue
Block a user