1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

MSVC error C4146: unary minus operator applied to unsigned type, result still unsigned

modified:   p_lx_elf.cpp
This commit is contained in:
John Reiser 2018-10-09 20:27:19 -07:00
parent b122f8e9d0
commit f88b85e126

View File

@ -4861,7 +4861,7 @@ void PackLinuxElf32::unpack(OutputFile *fo)
set_te32(&sym->st_value, symval - asl_delta);
}
if (Elf32_Sym::SHN_ABS == symsec && xct_off <= symval) {
adjABS(sym, -asl_delta);
adjABS(sym, 0u - asl_delta);
}
}
}