Displaying 1 result from an estimated 1 matches for "header64size".
Did you mean:
header32size
2011 Jan 20
0
[LLVMdev] Dubious code in llvm/lib/MC/MachObjectWriter.cpp
In llvm/lib/MC/MachObjectWriter.cpp, there's
assert(OS.tell() - Start == is64Bit() ?
macho::Header64Size : macho::Header32Size);
Shouldn't that be
assert(OS.tell() - Start == (is64Bit() ?
macho::Header64Size : macho::Header32Size));
MSVC emits a warning, and it doesn't seem right to compare a boolean
with a difference of two integers.
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E-...