Skip to content

Commit

Permalink
[XTENSA] Add missing cast in elf.h ELF_CORE_COPY_REGS()
Browse files Browse the repository at this point in the history
Avoids compiler warning.

Signed-off-by: Marc Gauthier <marc@tensilica.com>
  • Loading branch information
Marc Gauthier authored and Chris Zankel committed Feb 14, 2008
1 parent ea0b6b0 commit 3e92501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-xtensa/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);

Expand Down

0 comments on commit 3e92501

Please sign in to comment.