summaryrefslogtreecommitdiff
path: root/gcc/tree-dump.c
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-18 23:05:50 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-18 23:05:50 +0000
commitde064be970f5146ba9366d41733609a4fb2b11c6 (patch)
tree8ae71f8ebd710043f6c88db05c9fe55db40aecfc /gcc/tree-dump.c
parentc3dd0e8588136d0b1ce121dcebf82701189af760 (diff)
downloadgcc-de064be970f5146ba9366d41733609a4fb2b11c6.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124839 138bc75d-0d04-0410-961f-82ee72b054a4
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 16f71df2028..d8f871e47db 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;
}