mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Avoid warning C4805: '|': unsafe mix of type 'bool' and type 'unsigned int' in operation
modified: p_lx_elf.cpp modified: p_lx_elf.h
This commit is contained in:
parent
9c1bc99d7a
commit
a1cabd5a68
|
@ -516,7 +516,7 @@ void PackLinuxElf64::pack3(OutputFile *fo, Filter &ft)
|
|||
void
|
||||
PackLinuxElf::addStubEntrySections(Filter const *)
|
||||
{
|
||||
int all_pages = opt->o_unix.unmap_all_pages | is_big;
|
||||
bool all_pages = opt->o_unix.unmap_all_pages | is_big;
|
||||
addLoader("ELFMAINX", NULL);
|
||||
if (hasLoaderSection("ELFMAINXu")) {
|
||||
// brk() trouble if static
|
||||
|
|
|
@ -81,7 +81,7 @@ protected:
|
|||
unsigned sz_pack2a; // after pack2() of all PT_LOAD
|
||||
unsigned lg2_page; // log2(PAGE_SIZE)
|
||||
unsigned page_size; // 1u<<lg2_page
|
||||
unsigned is_big; // stub style: must use area above the brk
|
||||
bool is_big; // stub style: must use area above the brk
|
||||
unsigned xct_off; // shared library: file offset of SHT_EXECINSTR
|
||||
unsigned hatch_off; // file offset of escape hatch
|
||||
upx_uint64_t load_va; // PT_LOAD[0].p_vaddr
|
||||
|
|
Loading…
Reference in New Issue
Block a user