aboutsummaryrefslogtreecommitdiff
path: root/opcodes/cgen-opc.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2000-07-26 22:45:49 +0000
committerDave Brolley <brolley@redhat.com>2000-07-26 22:45:49 +0000
commit510925d36efcfe58c5b42dabd950899221cdf26b (patch)
treee8caa926f346a3a4b8b686d33993b16ed303053e /opcodes/cgen-opc.c
parent9d551405defb4c10fe3006b9ef7a8d42a8fb4a95 (diff)
downloadgdb-510925d36efcfe58c5b42dabd950899221cdf26b.zip
gdb-510925d36efcfe58c5b42dabd950899221cdf26b.tar.gz
gdb-510925d36efcfe58c5b42dabd950899221cdf26b.tar.bz2
2000-07-26 Dave Brolley <brolley@redhat.com>
* cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned. (cgen_hw_lookup_by_num): Ditto. (cgen_operand_lookup_by_name): Ditto. (print_address): Ditto. (print_keyword): Ditto. * cgen-dis.c (hash_insn_array): Mark unused parameters with ATTRIBUTE_UNUSED. * cgen-asm.c (hash_insn_array): Mark unused parameters with ATTRIBUTE_UNUSED. (cgen_parse_keyword): Ditto.
Diffstat (limited to 'opcodes/cgen-opc.c')
-rw-r--r--opcodes/cgen-opc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/cgen-opc.c b/opcodes/cgen-opc.c
index ede3add..bcf0309 100644
--- a/opcodes/cgen-opc.c
+++ b/opcodes/cgen-opc.c
@@ -263,7 +263,7 @@ cgen_hw_lookup_by_name (cd, name)
CGEN_CPU_DESC cd;
const char *name;
{
- int i;
+ unsigned int i;
const CGEN_HW_ENTRY **hw = cd->hw_table.entries;
for (i = 0; i < cd->hw_table.num_entries; ++i)
@@ -281,9 +281,9 @@ cgen_hw_lookup_by_name (cd, name)
const CGEN_HW_ENTRY *
cgen_hw_lookup_by_num (cd, hwnum)
CGEN_CPU_DESC cd;
- int hwnum;
+ unsigned int hwnum;
{
- int i;
+ unsigned int i;
const CGEN_HW_ENTRY **hw = cd->hw_table.entries;
/* ??? This can be speeded up. */
@@ -305,7 +305,7 @@ cgen_operand_lookup_by_name (cd, name)
CGEN_CPU_DESC cd;
const char *name;
{
- int i;
+ unsigned int i;
const CGEN_OPERAND **op = cd->operand_table.entries;
for (i = 0; i < cd->operand_table.num_entries; ++i)