mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
Fix bogus assert condition noticed by Csaba Raduly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124645 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8e2da0ce9d
commit
e087afa128
@ -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