summaryrefslogtreecommitdiffstats
path: root/gcc/f
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
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')
-rw-r--r--gcc/f/ChangeLog4
-rw-r--r--gcc/f/target.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index ced11bcea84..73ce8ec283d 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,7 @@
+Sun Mar 10 12:37:42 2002 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * target.c (ffetarget_print_hex): Const-ify.
+
2002-03-06 Phil Edwards <pme@gcc.gnu.org>
* version.c: Fix misplaced leading blanks on first line.
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