diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-06-22 06:30:39 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-06-22 06:30:39 +0000 |
commit | cd1661d6b1e0bebe318540aefa0d07981f5b236b (patch) | |
tree | 2a4943864456d3e6d94ac9b89832572655a0878c /gcc/mips-tdump.c | |
parent | 63d088b75438a51ee0c5b63a801195453ce33cad (diff) | |
download | gcc-cd1661d6b1e0bebe318540aefa0d07981f5b236b.zip gcc-cd1661d6b1e0bebe318540aefa0d07981f5b236b.tar.gz gcc-cd1661d6b1e0bebe318540aefa0d07981f5b236b.tar.bz2 |
Warning fixes:
* mips-tfile.c (add_local_symbol): Cast width format specifier to int.
(add_ext_symbol): Likewise.
(add_file): Likewise.
(parse_def): Likewise.
(write_varray): Use HOST_PTR_PRINTF to print a pointer. Fix
remaining format specifiers and arguments.
(write_object): Likewise, several times.
(read_seek): Likewise.
(out_of_bounds): Likewise.
(allocate_cluster): Likewise.
(xmalloc): Likewise.
(xcalloc): Likewise.
(xrealloc): Likewise.
(xfree): Likewise.
* mips-tdump.c (print_symbol): Likewise.
From-SVN: r20654
Diffstat (limited to 'gcc/mips-tdump.c')
-rw-r--r-- | gcc/mips-tdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c index 6722469..558e090 100644 --- a/gcc/mips-tdump.c +++ b/gcc/mips-tdump.c @@ -937,7 +937,7 @@ print_symbol (sym_ptr, number, strbase, aux_base, ifd, fdp) else { used_ptr[index] = 1; - printf (" First symbol: %ld\n", aux_base[index].isym); + printf (" First symbol: %ld\n", (long) aux_base[index].isym); } if (want_scope) @@ -962,7 +962,7 @@ print_symbol (sym_ptr, number, strbase, aux_base, ifd, fdp) { used_ptr[index] = used_ptr[index+1] = 1; printf (" End+1 symbol: %-7ld Type: %s\n", - aux_base[index].isym, + (long) aux_base[index].isym, type_to_string (aux_base, index+1, fdp)); } else /* global symbol */ |