diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2002-03-10 17:39:05 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2002-03-10 17:39:05 +0000 |
commit | b29bb8325b6d6be0353a25285fcc697b55451ab1 (patch) | |
tree | 90d09cd2e5c973334893d8379385f915011324c1 | |
parent | 27e486c5d9061a637bc6ba1863d74c517f251150 (diff) | |
download | gcc-b29bb8325b6d6be0353a25285fcc697b55451ab1.zip gcc-b29bb8325b6d6be0353a25285fcc697b55451ab1.tar.gz gcc-b29bb8325b6d6be0353a25285fcc697b55451ab1.tar.bz2 |
* target.c (ffetarget_print_hex): Const-ify.
From-SVN: r50535
-rw-r--r-- | gcc/f/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/f/target.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index ced11bc..73ce8ec 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 11fb0b1..a1a7801 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; |