diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8c333fe8b45519deffe40908da90e795dd6a845f..60c4cd7c9d41f515e99ce3a54f17bf0ee6527d09 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index 4c5366251995a9c3aea02c49221a68e9b29982fd..63a8bd731b2d26f8e566b3a9501c85bbe6783871 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -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);