From cd1661d6b1e0bebe318540aefa0d07981f5b236b Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Mon, 22 Jun 1998 06:30:39 +0000 Subject: 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 --- gcc/mips-tdump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/mips-tdump.c') 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 */ -- cgit v1.1