aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sh64.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-05-15 23:14:52 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2016-05-15 23:23:47 +0100
commit9dfa3e63479d3c3106c7e5e86764a0ed8e22aa7f (patch)
tree87c07f343c254051952d84ce414fe921d00124ad /gas/config/tc-sh64.c
parent180c87d999b4ae31b8ee092369b11cd9c840123b (diff)
SH64/GAS: Fix a -Wwrite-strings build failure
Fix a commit 6757cf57697d ("enable -Wwrite-strings for gas") regression. gas/ * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
Diffstat (limited to 'gas/config/tc-sh64.c')
-rw-r--r--gas/config/tc-sh64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-sh64.c b/gas/config/tc-sh64.c
index 294f96b053..4de044c21e 100644
--- a/gas/config/tc-sh64.c
+++ b/gas/config/tc-sh64.c
@@ -1473,7 +1473,7 @@ shmedia_check_limits (offsetT *valp, bfd_reloc_code_real_type reloc,
{
offsetT val = *valp;
- char *msg = NULL;
+ const char *msg = NULL;
switch (reloc)
{