aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 6728f1c..889d88c 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -12454,7 +12454,7 @@ escaped_string::escape (const char *unescaped)
if (m_owned)
free (m_str);
- m_str = (char *) unescaped;
+ m_str = const_cast<char *> (unescaped);
m_owned = false;
if (unescaped == NULL || *unescaped == 0)