diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/opcode/ppc.h | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 5c9913b..704d1e9 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2018-05-07 Peter Bergner <bergner@vnet.ibm.com.com> + + * opcode/ppc.h (powerpc_num_opcodes): Change type to unsigned. + (vle_num_opcodes): Likewise. + (spe2_num_opcodes): Likewise. + 2018-05-04 Alan Modra <amodra@gmail.com> * ansidecl.h: Import from gcc. diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index 962f898..f0b6437 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -75,11 +75,11 @@ struct powerpc_opcode in the order in which the disassembler should consider instructions. */ extern const struct powerpc_opcode powerpc_opcodes[]; -extern const int powerpc_num_opcodes; +extern const unsigned int powerpc_num_opcodes; extern const struct powerpc_opcode vle_opcodes[]; -extern const int vle_num_opcodes; +extern const unsigned int vle_num_opcodes; extern const struct powerpc_opcode spe2_opcodes[]; -extern const int spe2_num_opcodes; +extern const unsigned int spe2_num_opcodes; /* Values defined for the flags field of a struct powerpc_opcode. */ |