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

Remove meaningless "const" from casts.

This commit is contained in:
Markus F.X.J. Oberhumer 2011-12-14 06:05:41 +01:00
parent a06e811717
commit a38721db93

View File

@ -2015,7 +2015,7 @@ void PackLinuxElf32::pack1(OutputFile *fo, Filter & /*ft*/)
fi->readx((void*)shdr,ehdri.e_shentsize*ehdri.e_shnum);
// set this so we can use elf_find_section_name
shdri = (Elf32_Shdr * const)shdr;
shdri = (Elf32_Shdr *)shdr;
}
//set the shstrtab
@ -2207,7 +2207,7 @@ void PackLinuxElf64::pack1(OutputFile *fo, Filter & /*ft*/)
fi->readx((void*)shdr,ehdri.e_shentsize*ehdri.e_shnum);
// set this so we can use elf_find_section_name
shdri = (Elf64_Shdr * const)shdr;
shdri = (Elf64_Shdr *)shdr;
}
//set the shstrtab