1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

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:
John Reiser 2018-01-06 09:20:46 -08:00
parent edde6210f1
commit e853119c77

View File

@ -608,7 +608,7 @@ PackLinuxElf::addStubEntrySections(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)