mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Avoid warning.
committer: mfx <mfx> 1109669763 +0000
This commit is contained in:
parent
232754b978
commit
56d09bf3b5
|
@ -465,7 +465,7 @@ off_t PackLinuxI386::getbase(const Elf32_Phdr *phdr, int e_phnum) const
|
|||
off_t base = ~0u;
|
||||
for (int j = 0; j < e_phnum; ++phdr, ++j) {
|
||||
if (phdr->PT_LOAD == phdr->p_type) {
|
||||
if ((unsigned)phdr->p_vaddr < base)
|
||||
if (phdr->p_vaddr < (unsigned) base)
|
||||
base = phdr->p_vaddr;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user