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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user