From a38721db9361b4f414dfd0ff355d0b247945025a Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Wed, 14 Dec 2011 06:05:41 +0100 Subject: [PATCH] Remove meaningless "const" from casts. --- src/p_lx_elf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_lx_elf.cpp b/src/p_lx_elf.cpp index 7c9560d1..2b3e4c3c 100644 --- a/src/p_lx_elf.cpp +++ b/src/p_lx_elf.cpp @@ -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