aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-dump.c
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2007-05-18 23:05:50 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2007-05-18 23:05:50 +0000
commit8d5b1b6786f06627ed76c705ce742b10f4ccd059 (patch)
tree8ae71f8ebd710043f6c88db05c9fe55db40aecfc /gcc/tree-dump.c
parentca0d5e024bf3dbf480927c1a00169843fe608b2c (diff)
downloadgcc-8d5b1b6786f06627ed76c705ce742b10f4ccd059.zip
gcc-8d5b1b6786f06627ed76c705ce742b10f4ccd059.tar.gz
gcc-8d5b1b6786f06627ed76c705ce742b10f4ccd059.tar.bz2
Index: gcc/java/ChangeLog
2007-05-18 Geoffrey Keating <geoffk@apple.com> * jcf-dump.c (HANDLE_MAGIC): Use 'unsigned long' for %lx. (print_constant): Likewise. Index: gcc/ChangeLog 2007-05-18 Geoffrey Keating <geoffk@apple.com> * dwarf2out.c (print_die): Use '%ld' not '%lu' to print a 'long'. (output_die): Use 'unsigned long' with %x. * sched-vis.c (print_value): Use 'unsigned HOST_WIDE_INT' and HOST_WIDE_INT_PRINT_HEX to print HOST_WIDE_INT. * tree-dump.c (dump_pointer): Use 'unsigned long' for %lx. Index: gcc/cp/ChangeLog 2007-05-18 Geoffrey Keating <geoffk@apple.com> * mangle.c (write_real_cst): Use 'unsigned long' for %lx. From-SVN: r124839
Diffstat (limited to 'gcc/tree-dump.c')
-rw-r--r--gcc/tree-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-dump.c b/gcc/tree-dump.c
index 16f71df..d8f871e 100644
--- a/gcc/tree-dump.c
+++ b/gcc/tree-dump.c
@@ -166,7 +166,7 @@ void
dump_pointer (dump_info_p di, const char *field, void *ptr)
{
dump_maybe_newline (di);
- fprintf (di->stream, "%-4s: %-8lx ", field, (long) ptr);
+ fprintf (di->stream, "%-4s: %-8lx ", field, (unsigned long) ptr);
di->column += 15;
}