aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/cvt.c')
-rw-r--r--gcc/cp/cvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c
index 72721ce..d03cff5 100644
--- a/gcc/cp/cvt.c
+++ b/gcc/cp/cvt.c
@@ -456,7 +456,7 @@ convert_to_reference (reftype, expr, convtype, flags, decl)
if (! real_lvalue_p (expr)
&& !CP_TYPE_CONST_NON_VOLATILE_P (ttl))
{
- char* msg;
+ const char *msg;
if (CP_TYPE_VOLATILE_P (ttl) && decl)
msg = "initialization of volatile reference type `%#T'";