summaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-22 06:30:39 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-22 06:30:39 +0000
commitf5cef9501e3c640ec75460b3f20bc13f792eded9 (patch)
tree2a4943864456d3e6d94ac9b89832572655a0878c /gcc/mips-tdump.c
parentee5605bfc8ff92700500a398c783be7269596f9b (diff)
downloadgcc-f5cef9501e3c640ec75460b3f20bc13f792eded9.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20654 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mips-tdump.c')
-rw-r--r--gcc/mips-tdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c
index 6722469fd54..558e090a64d 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 */