* tree.c (escaped_string::escape): Replace cast to char * by
const_cast<char *> (unescaped).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261700
138bc75d-0d04-0410-961f-
82ee72b054a4
+2018-06-18 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
+
+ * tree.c (escaped_string::escape): Replace cast to char * by
+ const_cast<char *> (unescaped).
+
2018-06-18 Nick Clifton <nickc@redhat.com>
PR 84195
if (m_owned)
free (m_str);
- m_str = (char *) unescaped;
+ m_str = const_cast<char *> (unescaped);
m_owned = false;
if (unescaped == NULL || *unescaped == 0)