mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +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())
|
if (is64Bit())
|
||||||
Write32(0); // reserved
|
Write32(0); // reserved
|
||||||
|
|
||||||
assert(OS.tell() - Start == is64Bit() ?
|
assert(OS.tell() - Start ==
|
||||||
macho::Header64Size : macho::Header32Size);
|
(is64Bit() ? macho::Header64Size : macho::Header32Size));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// WriteSegmentLoadCommand - Write a segment load command.
|
/// WriteSegmentLoadCommand - Write a segment load command.
|
||||||
|
Loading…
Reference in New Issue
Block a user