* target.c (ffetarget_print_hex): Const-ify.

From-SVN: r50535
This commit is contained in:
Kaveh R. Ghazi 2002-03-10 17:39:05 +00:00 committed by Kaveh Ghazi
parent 27e486c5d9
commit b29bb8325b
2 changed files with 5 additions and 1 deletions

View 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.

View 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;