diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e124aa61f13..cedceadecb7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2015-10-29 Pedro Alves + + * libhppa.h (bfd_hppa_insn2fmt): Add cast. + 2015-10-28 H.J. Lu * elf32-i386.c (elf_i386_relocate_section): Fix a typo in diff --git a/bfd/libhppa.h b/bfd/libhppa.h index 9832ccd383e..4786f357a01 100644 --- a/bfd/libhppa.h +++ b/bfd/libhppa.h @@ -462,7 +462,7 @@ enum hppa_opcode_type static inline int bfd_hppa_insn2fmt (bfd *abfd, int insn) { - enum hppa_opcode_type op = get_opcode (insn); + enum hppa_opcode_type op = (enum hppa_opcode_type) get_opcode (insn); switch (op) {