Commit 2984dacf by Brad Lucier Committed by Mark Mitchell

class.c (dump_class_hierarchy): Make format agree with argument; cast pointer to…

class.c (dump_class_hierarchy): Make format agree with argument; cast pointer to unsigned long and print with %lx.

	* class.c (dump_class_hierarchy): Make format agree with argument;
	cast pointer to unsigned long and print with %lx.

From-SVN: r31535
parent 65f6fa24
2000-01-20 Brad Lucier <lucier@math.purdue.edu>
* class.c (dump_class_hierarchy): Make format agree with argument;
cast pointer to unsigned long and print with %lx.
2000-01-19 Gabriel Dos Reis <gdr@codesourcery>
* decl2.c (lang_decode_option): Set default line-wrap length to 72.
......
......@@ -6297,8 +6297,8 @@ dump_class_hierarchy (binfo, indent)
{
int i;
fprintf (stderr, "%*s0x%x (%s) %d %s\n", indent, "",
(unsigned int) binfo,
fprintf (stderr, "%*s0x%lx (%s) %d %s\n", indent, "",
(unsigned long) binfo,
type_as_string (binfo, TS_PLAIN),
TREE_INT_CST_LOW (BINFO_OFFSET (binfo)),
BINFO_PRIMARY_MARKED_P (binfo) ? "primary" : "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment