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:
parent
edde6210f1
commit
e853119c77
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user