diff --git a/src/p_lx_elf.cpp b/src/p_lx_elf.cpp index 6097151f..e940fc69 100644 --- a/src/p_lx_elf.cpp +++ b/src/p_lx_elf.cpp @@ -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 diff --git a/src/p_lx_elf.h b/src/p_lx_elf.h index f70de120..df36d5ad 100644 --- a/src/p_lx_elf.h +++ b/src/p_lx_elf.h @@ -81,7 +81,7 @@ protected: unsigned sz_pack2a; // after pack2() of all PT_LOAD unsigned lg2_page; // log2(PAGE_SIZE) unsigned page_size; // 1u<