Archived
14
0
Fork 0

[XTENSA] Add missing cast in elf.h ELF_CORE_COPY_REGS()

Avoids compiler warning.

Signed-off-by: Marc Gauthier <marc@tensilica.com>
This commit is contained in:
Marc Gauthier 2007-12-11 15:28:07 -08:00 committed by Chris Zankel
parent ea0b6b0663
commit 3e92501a4e

View file

@ -96,7 +96,7 @@ typedef unsigned int elf_fpreg_t;
typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
#define ELF_CORE_COPY_REGS(_eregs, _pregs) \
xtensa_elf_core_copy_regs (&_eregs, _pregs);
xtensa_elf_core_copy_regs ((xtensa_gregset_t*)&(_eregs), _pregs);
extern void xtensa_elf_core_copy_regs (xtensa_gregset_t *, struct pt_regs *);