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:
John Reiser
2016-12-18 11:32:47 -08:00
parent 9c1bc99d7a
commit a1cabd5a68
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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