aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/mangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/mangle.c')
-rw-r--r--gcc/cp/mangle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index 4c53662..63a8bd7 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);