summaryrefslogtreecommitdiffstats
path: root/gcc/f/target.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-10 17:39:05 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-10 17:39:05 +0000
commitca3d0fae494bfb5f1709d6cca598bc93251bbf39 (patch)
tree90d09cd2e5c973334893d8379385f915011324c1 /gcc/f/target.c
parenta0cbb03c1222be7e7681189ef139f24a0dbc2367 (diff)
downloadppe42-gcc-ca3d0fae494bfb5f1709d6cca598bc93251bbf39.tar.gz
ppe42-gcc-ca3d0fae494bfb5f1709d6cca598bc93251bbf39.zip
* target.c (ffetarget_print_hex): Const-ify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50535 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f/target.c')
-rw-r--r--gcc/f/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/f/target.c b/gcc/f/target.c
index 11fb0b1d83b..a1a78018a96 100644
--- a/gcc/f/target.c
+++ b/gcc/f/target.c
@@ -2190,7 +2190,7 @@ ffetarget_print_hex (FILE *f, ffetargetTypeless value)
{
char *p;
char digits[sizeof (value) * CHAR_BIT / 4 + 1];
- static char hexdigits[16] = "0123456789ABCDEF";
+ static const char hexdigits[16] = "0123456789ABCDEF";
if (f == NULL)
f = dmpout;
OpenPOWER on IntegriCloud