* target.c (ffetarget_print_hex): Const-ify.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 10 Mar 2002 17:39:05 +0000 (17:39 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 10 Mar 2002 17:39:05 +0000 (17:39 +0000)
From-SVN: r50535

gcc/f/ChangeLog
gcc/f/target.c

index ced11bcea84bb627833a97754ac5fe53e4abfd15..73ce8ec283d55e1c328184b0294f5e4979dc3407 100644 (file)
@@ -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.
index 11fb0b1d83bb18849aca87dc5995612aa44cd900..a1a78018a96beacf081963b01437442643320206 100644 (file)
@@ -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;