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
This commit is contained in:
Mark Mitchell 2003-06-17 23:33:25 +00:00 committed by Mark Mitchell
parent 9da32fe151
commit f2d90304d2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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);