call.c (build_new_method_call): Fix typo in message format string.
authorMark Mitchell <mark@codesourcery.com>
Thu, 2 Jan 2003 19:57:34 +0000 (19:57 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 2 Jan 2003 19:57:34 +0000 (19:57 +0000)
* call.c (build_new_method_call): Fix typo in message format
string.

From-SVN: r60800

gcc/cp/ChangeLog
gcc/cp/call.c

index c8e80e3..9d078c6 100644 (file)
@@ -1,5 +1,10 @@
 2003-01-02  Mark Mitchell  <mark@codesourcery.com>
 
+       * call.c (build_new_method_call): Fix typo in message format
+       string.
+
+2003-01-02  Mark Mitchell  <mark@codesourcery.com>
+
        * parser.c (cp_lexer_next_token_is): Declare it inline.
        (cp_lexer_set_source_position_from_token): Likewise.
        (cp_lexer_debugging_p): Likewise.
index b760bce..bd4fb06 100644 (file)
@@ -4861,7 +4861,7 @@ build_new_method_call (tree instance, tree fns, tree args,
       bool free_p;
 
       pretty_name = name_as_c_string (name, basetype, &free_p);
-      error ("call of overloaded `%D(%A)' is ambiguous", pretty_name,
+      error ("call of overloaded `%s(%A)' is ambiguous", pretty_name,
             user_args);
       print_z_candidates (candidates);
       if (free_p)