diff options
author | Jim Wilson <wilson@tuliptree.org> | 2000-12-12 22:56:36 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2000-12-12 22:56:36 +0000 |
commit | e6c47ced7f9f98a50c91ae9c28c3182f967bcf0b (patch) | |
tree | 891566d9f480a3c72de24061b9222b20bc5affae /opcodes/ia64-opc.c | |
parent | 8f718651a6d74ba20e2bf3314853edc26944b2af (diff) | |
download | gdb-e6c47ced7f9f98a50c91ae9c28c3182f967bcf0b.tar.gz |
Eliminate ia64 compiler warnings. Fix ia64 gas testsuite again.
* elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
* config/tc-ia64.h (ia64_init): Add prototype.
* gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d,
gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update.
* ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
argument.
* ia64_gen.c (insert_deplist): Cast sizeof result to int.
(print_dependency_table): Print NULL if semantics field not set.
(insert_opcode_dependencies): Mark cmp parameter as unused.
(print_main_table): Use fprintf_vma to print long long fields.
(main): Mark argv paramter as unused. Convert to old style definition.
* ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
* ia64-asmtab.c: Regnerate.
Diffstat (limited to 'opcodes/ia64-opc.c')
-rw-r--r-- | opcodes/ia64-opc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/ia64-opc.c b/opcodes/ia64-opc.c index c054b3d283e..c2ddc8765fe 100644 --- a/opcodes/ia64-opc.c +++ b/opcodes/ia64-opc.c @@ -740,7 +740,8 @@ ia64_find_dependency (index) { index = DEP(index); - if (index < 0 || index >= sizeof(dependencies) / sizeof(dependencies[0])) + if (index < 0 + || index >= (int)(sizeof(dependencies) / sizeof(dependencies[0]))) return NULL; return &dependencies[index]; |