Commit f2d90304 by Mark Mitchell Committed by Mark Mitchell

mangle.c (mangle_conv_op_name_for_type): Correct sprintf format string.

	* mangle.c (mangle_conv_op_name_for_type): Correct sprintf format
	string.

From-SVN: r68124
parent 9da32fe1
2003-06-17 Mark Mitchell <mark@codesourcery.com>
* mangle.c (mangle_conv_op_name_for_type): Correct sprintf format
string.
2003-06-17 Jason Merrill <jason@redhat.com>
PR c++/10929
......
......@@ -2628,7 +2628,8 @@ mangle_conv_op_name_for_type (const tree type)
return TREE_VALUE ((tree) *slot);
/* Create a unique name corresponding to TYPE. */
sprintf (buffer, "operator %d\n", htab_elements (conv_type_names));
sprintf (buffer, "operator %lu\n",
(unsigned long) htab_elements (conv_type_names));
identifier = get_identifier (buffer);
*slot = build_tree_list (type, identifier);
......
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