canonicalize bool in OR
MSVC error C4805: '|' : unsafe mix of type 'bool' and type 'unsigned int' in operation modified: p_lx_elf.cpp
This commit is contained in:
+1
-1
@@ -608,7 +608,7 @@ PackLinuxElf::addStubEntrySections(Filter const *)
|
|||||||
|
|
||||||
void PackLinuxElf::defineSymbols(Filter const *)
|
void PackLinuxElf::defineSymbols(Filter const *)
|
||||||
{
|
{
|
||||||
linker->defineSymbol("O_BINFO", opt->o_unix.is_ptinterp | o_binfo);
|
linker->defineSymbol("O_BINFO", (!!opt->o_unix.is_ptinterp) | o_binfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PackLinuxElf32::defineSymbols(Filter const *ft)
|
void PackLinuxElf32::defineSymbols(Filter const *ft)
|
||||||
|
|||||||
Reference in New Issue
Block a user