aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/errfn.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/errfn.c')
-rw-r--r--gcc/cp/errfn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/errfn.c b/gcc/cp/errfn.c
index 4546e195..60a024f 100644
--- a/gcc/cp/errfn.c
+++ b/gcc/cp/errfn.c
@@ -200,7 +200,7 @@ DECLARE (cp_error)
va_list ap;
INIT;
if (! cp_silent)
- cp_thing (error, 0, format, ap);
+ cp_thing ((errorfn *) error, 0, format, ap);
va_end (ap);
}
@@ -209,7 +209,7 @@ DECLARE (cp_warning)
va_list ap;
INIT;
if (! cp_silent)
- cp_thing (warning, 0, format, ap);
+ cp_thing ((errorfn *) warning, 0, format, ap);
va_end (ap);
}