mangle.c (mangle_conv_op_name_for_type): Correct sprintf format string.
authorMark Mitchell <mark@codesourcery.com>
Tue, 17 Jun 2003 23:33:25 +0000 (23:33 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 17 Jun 2003 23:33:25 +0000 (23:33 +0000)
* mangle.c (mangle_conv_op_name_for_type): Correct sprintf format
string.

From-SVN: r68124

gcc/cp/ChangeLog
gcc/cp/mangle.c

index 8c333fe8b45519deffe40908da90e795dd6a845f..60c4cd7c9d41f515e99ce3a54f17bf0ee6527d09 100644 (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
index 4c5366251995a9c3aea02c49221a68e9b29982fd..63a8bd731b2d26f8e566b3a9501c85bbe6783871 100644 (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);