summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/xcoffout.h')
-rw-r--r--gcc/xcoffout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/xcoffout.h b/gcc/xcoffout.h
index 91885396bff..5e912be2f3d 100644
--- a/gcc/xcoffout.h
+++ b/gcc/xcoffout.h
@@ -103,7 +103,7 @@ Boston, MA 02111-1307, USA. */
if (current_sym_addr && current_sym_code == N_FUN \
&& GET_CODE (current_sym_addr) == SYMBOL_REF) \
{ \
- char *_p = XSTR (current_sym_addr, 0); \
+ const char *_p = XSTR (current_sym_addr, 0); \
if (*_p == '*') \
fprintf (asmfile, "%s", _p+1); \
else \