2018-06-18 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
* tree.c (escaped_string::escape): Replace cast to char * by
const_cast<char *> (unescaped).
From-SVN: r261700
+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)