1
0
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:
Evan Cheng 2011-02-01 01:50:49 +00:00
parent f8b2388751
commit 3689d1302d

View File

@ -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.