From: Florian Krohm Date: Fri, 17 Apr 2015 08:56:11 +0000 (+0000) Subject: Followup to r15101. Remove pointless cast. The castee already X-Git-Tag: svn/VALGRIND_3_11_0~494 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=789084fb99c4cfdc81f32daea6cf357193bbaf88;p=thirdparty%2Fvalgrind.git Followup to r15101. Remove pointless cast. The castee already has that type. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15104 --- diff --git a/coregrind/m_coredump/coredump-elf.c b/coregrind/m_coredump/coredump-elf.c index cf6cc160e8..6f965d7a86 100644 --- a/coregrind/m_coredump/coredump-elf.c +++ b/coregrind/m_coredump/coredump-elf.c @@ -358,8 +358,8 @@ static void fill_prstatus(const ThreadState *tst, regs->orig_gpr3 = arch->vex.guest_GPR3; regs->ctr = arch->vex.guest_CTR; regs->link = arch->vex.guest_LR; - regs->xer = LibVEX_GuestPPC64_get_XER( (const VexGuestPPC64State*) &(arch->vex) ); - regs->ccr = LibVEX_GuestPPC64_get_CR( (const VexGuestPPC64State*) &(arch->vex) ); + regs->xer = LibVEX_GuestPPC64_get_XER( &(arch->vex) ); + regs->ccr = LibVEX_GuestPPC64_get_CR( &(arch->vex) ); /* regs->mq = 0; */ regs->trap = 0; regs->dar = 0; /* should be fault address? */